prepend vault to model docLinks (#18965)

This commit is contained in:
Angel Garbarino 2023-02-02 14:17:13 -07:00 committed by GitHub
parent 619f5b2edf
commit 0249f6e240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 8 deletions

View File

@ -54,7 +54,7 @@ export default Model.extend({
defaultSubText:
'Unless a custom policy is specified, Vault will use a default: 20 characters with at least 1 uppercase, 1 lowercase, 1 number, and 1 dash character.',
defaultShown: 'Default',
docLink: '/docs/concepts/password-policies',
docLink: '/vault/docs/concepts/password-policies',
}),
// common fields
@ -106,7 +106,7 @@ export default Model.extend({
subText: 'Enter the custom username template to use.',
defaultSubText:
'Template describing how dynamic usernames are generated. Vault will use the default for this plugin.',
docLink: '/docs/concepts/username-templating',
docLink: '/vault/docs/concepts/username-templating',
defaultShown: 'Default',
}),
max_open_connections: attr('number', {

View File

@ -20,7 +20,7 @@ export default class OidcProviderModel extends Model {
subText:
'The scheme, host, and optional port for your issuer. This will be used to build the URL that validates ID tokens.',
placeholderText: 'e.g. https://example.com:8200',
docLink: '/api-docs/secret/identity/oidc-provider#create-or-update-a-provider',
docLink: '/vault/api-docs/secret/identity/oidc-provider#create-or-update-a-provider',
helpText: `Optional. This defaults to a URL with Vault's api_addr`,
})
issuer;

View File

@ -128,7 +128,7 @@ export default class PkiRoleModel extends Model {
subText:
'Specifies if certificates issued/signed against this role will have Vault leases attached to them.',
editType: 'boolean',
docLink: '/api-docs/secret/pki#create-update-role',
docLink: '/vault/api-docs/secret/pki#create-update-role',
})
generateLease;
@ -138,7 +138,7 @@ export default class PkiRoleModel extends Model {
subText:
'This can improve performance when issuing large numbers of certificates. However, certificates issued in this way cannot be enumerated or revoked.',
editType: 'boolean',
docLink: '/api-docs/secret/pki#create-update-role',
docLink: '/vault/api-docs/secret/pki#create-update-role',
})
noStore;
@ -210,7 +210,7 @@ export default class PkiRoleModel extends Model {
label: 'URI Subject Alternative Names (URI SANs)',
subText: 'Defines allowed URI Subject Alternative Names. Add one item per row',
editType: 'stringArray',
docLink: '/docs/concepts/policies',
docLink: '/vault/docs/concepts/policies',
})
allowedUriSans;
@ -218,7 +218,7 @@ export default class PkiRoleModel extends Model {
label: 'Allow URI SANs template',
subText: 'If true, the URI SANs above may contain templates, as with ACL Path Templating.',
editType: 'boolean',
docLink: '/docs/concepts/policies',
docLink: '/vault/docs/concepts/policies',
})
allowUriSansTemplate;
@ -330,7 +330,7 @@ export default class PkiRoleModel extends Model {
footer: {
text: 'These options can interact intricately with one another. For more information,',
docText: 'learn more here.',
docLink: '/api-docs/secret/pki#allowed_domains',
docLink: '/vault/api-docs/secret/pki#allowed_domains',
},
},
'Key parameters': {