2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
2024-05-31 11:29:24 -07:00
|
|
|
* SPDX-License-Identifier: BUSL-1.1
|
2023-03-01 09:39:41 -06:00
|
|
|
*/
|
|
|
|
|
|
2022-12-12 16:37:01 -08:00
|
|
|
import Component from '@glimmer/component';
|
2024-12-11 15:08:51 -08:00
|
|
|
import { TYPES_CREDENTIAL } from 'api/models/credential';
|
2022-12-12 16:37:01 -08:00
|
|
|
|
|
|
|
|
export default class FormCredentialComponent extends Component {
|
|
|
|
|
// =attributes
|
2025-11-06 14:44:53 -08:00
|
|
|
|
2022-12-12 16:37:01 -08:00
|
|
|
/**
|
|
|
|
|
* Returns an array of available credential types the user can create
|
|
|
|
|
* @type {object}
|
|
|
|
|
*/
|
|
|
|
|
get credentialTypes() {
|
2025-11-06 14:44:53 -08:00
|
|
|
return TYPES_CREDENTIAL;
|
2022-12-12 16:37:01 -08:00
|
|
|
}
|
|
|
|
|
}
|