open-vault/ui/app/helpers/mountable-auth-methods.js

92 lines
1.5 KiB
JavaScript
Raw Normal View History

2018-04-03 14:16:57 +00:00
import Ember from 'ember';
const MOUNTABLE_AUTH_METHODS = [
{
displayName: 'AliCloud',
value: 'alicloud',
type: 'alicloud',
category: 'cloud',
},
2018-04-03 14:16:57 +00:00
{
displayName: 'AppRole',
value: 'approle',
type: 'approle',
2018-08-28 05:03:55 +00:00
category: 'generic',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'AWS',
value: 'aws',
type: 'aws',
2018-08-28 05:03:55 +00:00
category: 'cloud',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'Azure',
value: 'azure',
type: 'azure',
2018-08-28 05:03:55 +00:00
category: 'cloud',
},
2018-04-03 14:16:57 +00:00
{
displayName: 'Google Cloud',
value: 'gcp',
type: 'gcp',
2018-08-28 05:03:55 +00:00
category: 'cloud',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'GitHub',
value: 'github',
type: 'github',
2018-08-28 05:03:55 +00:00
category: 'cloud',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'JWT/OIDC',
value: 'jwt',
type: 'jwt',
2018-08-28 05:03:55 +00:00
glyph: 'auth',
category: 'generic',
},
{
displayName: 'Kubernetes',
value: 'kubernetes',
type: 'kubernetes',
2018-08-28 05:03:55 +00:00
category: 'infra',
},
2018-04-03 14:16:57 +00:00
{
displayName: 'LDAP',
value: 'ldap',
type: 'ldap',
2018-08-28 05:03:55 +00:00
glyph: 'auth',
category: 'infra',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'Okta',
value: 'okta',
type: 'okta',
2018-08-28 05:03:55 +00:00
category: 'infra',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'RADIUS',
value: 'radius',
type: 'radius',
2018-08-28 05:03:55 +00:00
glyph: 'auth',
category: 'infra',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'TLS Certificates',
value: 'cert',
type: 'cert',
2018-08-28 05:03:55 +00:00
category: 'generic',
2018-04-03 14:16:57 +00:00
},
{
displayName: 'Username & Password',
value: 'userpass',
type: 'userpass',
2018-08-28 05:03:55 +00:00
category: 'generic',
2018-04-03 14:16:57 +00:00
},
];
export function methods() {
return MOUNTABLE_AUTH_METHODS.slice();
2018-04-03 14:16:57 +00:00
}
export default Ember.Helper.helper(methods);