2018-09-25 16:28:26 +00:00
|
|
|
import { helper as buildHelper } from '@ember/component/helper';
|
2018-08-28 05:03:55 +00:00
|
|
|
|
2019-06-21 21:05:45 +00:00
|
|
|
export const KMIP = {
|
|
|
|
displayName: 'KMIP',
|
|
|
|
value: 'kmip',
|
|
|
|
type: 'kmip',
|
|
|
|
category: 'generic',
|
2020-08-26 16:31:18 +00:00
|
|
|
requiredFeature: 'KMIP',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const TRANSFORM = {
|
|
|
|
displayName: 'Transform',
|
|
|
|
value: 'transform',
|
|
|
|
type: 'transform',
|
|
|
|
category: 'generic',
|
|
|
|
requiredFeature: 'Transform Secrets Engine',
|
2019-06-21 21:05:45 +00:00
|
|
|
};
|
|
|
|
|
2022-04-20 18:40:27 +00:00
|
|
|
export const KEYMGMT = {
|
|
|
|
displayName: 'Key Management',
|
|
|
|
value: 'keymgmt',
|
|
|
|
type: 'keymgmt',
|
|
|
|
glyph: 'key',
|
2022-05-20 15:41:24 +00:00
|
|
|
category: 'cloud',
|
2022-04-20 18:40:27 +00:00
|
|
|
requiredFeature: 'Key Management Secrets Engine',
|
|
|
|
};
|
|
|
|
|
2018-08-28 05:03:55 +00:00
|
|
|
const MOUNTABLE_SECRET_ENGINES = [
|
|
|
|
{
|
|
|
|
displayName: 'Active Directory',
|
|
|
|
value: 'ad',
|
|
|
|
type: 'ad',
|
|
|
|
category: 'cloud',
|
|
|
|
},
|
2018-10-29 22:44:06 +00:00
|
|
|
{
|
|
|
|
displayName: 'AliCloud',
|
|
|
|
value: 'alicloud',
|
|
|
|
type: 'alicloud',
|
|
|
|
category: 'cloud',
|
|
|
|
},
|
2018-08-28 05:03:55 +00:00
|
|
|
{
|
|
|
|
displayName: 'AWS',
|
|
|
|
value: 'aws',
|
|
|
|
type: 'aws',
|
|
|
|
category: 'cloud',
|
2022-01-10 17:08:05 +00:00
|
|
|
glyph: 'aws-color',
|
2018-08-28 05:03:55 +00:00
|
|
|
},
|
2018-09-05 16:21:29 +00:00
|
|
|
{
|
|
|
|
displayName: 'Azure',
|
|
|
|
value: 'azure',
|
|
|
|
type: 'azure',
|
|
|
|
category: 'cloud',
|
2022-01-10 17:08:05 +00:00
|
|
|
glyph: 'azure-color',
|
2018-09-05 16:21:29 +00:00
|
|
|
},
|
2018-08-28 05:03:55 +00:00
|
|
|
{
|
|
|
|
displayName: 'Consul',
|
|
|
|
value: 'consul',
|
|
|
|
type: 'consul',
|
|
|
|
category: 'infra',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Databases',
|
|
|
|
value: 'database',
|
|
|
|
type: 'database',
|
|
|
|
category: 'infra',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Google Cloud',
|
|
|
|
value: 'gcp',
|
|
|
|
type: 'gcp',
|
|
|
|
category: 'cloud',
|
2022-01-10 17:08:05 +00:00
|
|
|
glyph: 'gcp-color',
|
2018-08-28 05:03:55 +00:00
|
|
|
},
|
2018-10-29 19:32:27 +00:00
|
|
|
{
|
|
|
|
displayName: 'Google Cloud KMS',
|
|
|
|
value: 'gcpkms',
|
|
|
|
type: 'gcpkms',
|
|
|
|
category: 'cloud',
|
2022-01-10 17:08:05 +00:00
|
|
|
glyph: 'gcp-color',
|
2018-10-29 19:32:27 +00:00
|
|
|
},
|
2018-08-28 05:03:55 +00:00
|
|
|
{
|
|
|
|
displayName: 'KV',
|
|
|
|
value: 'kv',
|
|
|
|
type: 'kv',
|
|
|
|
category: 'generic',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Nomad',
|
|
|
|
value: 'nomad',
|
|
|
|
type: 'nomad',
|
|
|
|
category: 'infra',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'PKI Certificates',
|
|
|
|
value: 'pki',
|
|
|
|
type: 'pki',
|
|
|
|
category: 'generic',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'RabbitMQ',
|
|
|
|
value: 'rabbitmq',
|
|
|
|
type: 'rabbitmq',
|
|
|
|
category: 'infra',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'SSH',
|
|
|
|
value: 'ssh',
|
|
|
|
type: 'ssh',
|
|
|
|
category: 'generic',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Transit',
|
|
|
|
value: 'transit',
|
|
|
|
type: 'transit',
|
|
|
|
category: 'generic',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'TOTP',
|
|
|
|
value: 'totp',
|
|
|
|
type: 'totp',
|
|
|
|
category: 'generic',
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export function engines() {
|
2018-09-05 16:21:29 +00:00
|
|
|
return MOUNTABLE_SECRET_ENGINES.slice();
|
2018-08-28 05:03:55 +00:00
|
|
|
}
|
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default buildHelper(engines);
|