open-vault/ui/app/helpers/mountable-auth-methods.js
Matthew Irish 5b00b4b10a
UI - add JWT auth, remove alias metadata (#4986)
* remove the ability to edit metadata on entity aliases
* add JWT auth method in the UI
2018-07-24 17:35:31 -05:00

71 lines
1.1 KiB
JavaScript

import Ember from 'ember';
const MOUNTABLE_AUTH_METHODS = [
{
displayName: 'AppRole',
value: 'approle',
type: 'approle',
},
{
displayName: 'AWS',
value: 'aws',
type: 'aws',
},
{
displayName: 'Azure',
value: 'azure',
type: 'azure',
},
{
displayName: 'Google Cloud',
value: 'gcp',
type: 'gcp',
},
{
displayName: 'GitHub',
value: 'github',
type: 'github',
},
{
displayName: 'JWT/OIDC',
value: 'jwt',
type: 'jwt',
},
{
displayName: 'Kubernetes',
value: 'kubernetes',
type: 'kubernetes',
},
{
displayName: 'LDAP',
value: 'ldap',
type: 'ldap',
},
{
displayName: 'Okta',
value: 'okta',
type: 'okta',
},
{
displayName: 'RADIUS',
value: 'radius',
type: 'radius',
},
{
displayName: 'TLS Certificates',
value: 'cert',
type: 'cert',
},
{
displayName: 'Username & Password',
value: 'userpass',
type: 'userpass',
},
];
export function methods() {
return MOUNTABLE_AUTH_METHODS;
}
export default Ember.Helper.helper(methods);