vault/ui/app/helpers/supported-managed-auth-backends.js
Angel Garbarino 5d722a83c7
Fix auth flaky test (#30679)
* update auth-list-test and refactor any selectors it touches

* fix section test selector
2025-05-20 10:46:29 -06:00

17 lines
533 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import { helper as buildHelper } from '@ember/component/helper';
// The UI supports management of these auth methods (i.e. configuring roles or users)
// otherwise only configuration of the method is supported.
export const MANAGED_AUTH_BACKENDS = ['cert', 'kubernetes', 'ldap', 'okta', 'radius', 'userpass'];
export function supportedManagedAuthBackends() {
return MANAGED_AUTH_BACKENDS;
}
export default buildHelper(supportedManagedAuthBackends);