Files
vault/ui/app/models/identity/oidc/config.js
Angel Garbarino 442b6f5291 Prep for Azure WIF work (#28994)
* make things more generic

* aws to wif selector change

* secret list header cleanup

* clean up
2024-11-27 09:50:52 -07:00

24 lines
682 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Model, { attr } from '@ember-data/model';
import { expandAttributeMeta } from 'vault/utils/field-to-attrs';
export default class IdentityOidcConfig extends Model {
@attr('string', {
label: 'Issuer',
subText:
"The Issuer URL to be used in configuring Vault as an identity provider. If not set, Vault's default issuer will be used.",
docLink: '/vault/api-docs/secret/identity/tokens#configure-the-identity-tokens-backend',
placeholder: 'https://vault-test.com',
})
issuer;
get attrs() {
const keys = ['issuer'];
return expandAttributeMeta(this, keys);
}
}