open-vault/ui/app/helpers/mountable-auth-methods.js
Matthew Irish 067495ccce
UI - new backends (#4302)
* allow mounting of gcp secrets engine

* add models for azure auth method

* add azure as a mountable auth method

* make dev CSP more like built-in CSP

* id -> ID
2018-04-09 14:44:53 -05:00

66 lines
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: 'Kubernetes',
value: 'kubernetes',
type: 'kubernetes',
},
{
displayName: 'GitHub',
value: 'github',
type: 'github',
},
{
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);