Add new token_type filed to auth method mount-config (#5723)
This commit is contained in:
parent
422b6a2274
commit
4d4ace908c
|
@ -50,7 +50,7 @@ export default DS.Model.extend({
|
|||
tuneAttrs: computed(function() {
|
||||
return expandAttributeMeta(this, [
|
||||
'description',
|
||||
'config.{listingVisibility,defaultLeaseTtl,maxLeaseTtl,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
'config.{listingVisibility,defaultLeaseTtl,maxLeaseTtl,tokenType,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
]);
|
||||
}),
|
||||
|
||||
|
@ -69,7 +69,7 @@ export default DS.Model.extend({
|
|||
'accessor',
|
||||
'local',
|
||||
'sealWrap',
|
||||
'config.{listingVisibility,defaultLeaseTtl,maxLeaseTtl,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
'config.{listingVisibility,defaultLeaseTtl,maxLeaseTtl,tokenType,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
];
|
||||
}),
|
||||
|
||||
|
@ -82,7 +82,7 @@ export default DS.Model.extend({
|
|||
'config.listingVisibility',
|
||||
'local',
|
||||
'sealWrap',
|
||||
'config.{defaultLeaseTtl,maxLeaseTtl,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
'config.{defaultLeaseTtl,maxLeaseTtl,tokenType,auditNonHmacRequestKeys,auditNonHmacResponseKeys,passthroughRequestHeaders}',
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
|
@ -31,4 +31,11 @@ export default Fragment.extend({
|
|||
helpText: 'Headers to whitelist and pass from the request to the backend',
|
||||
editType: 'stringArray',
|
||||
}),
|
||||
tokenType: attr('string', {
|
||||
label: 'Token Type',
|
||||
helpText:
|
||||
"The type of token that should be generated via this role. Can be `service`, `batch`, or `default` to use the mount's default (which unless changed will be `service` tokens).",
|
||||
possibleValues: ['default', 'batch', 'service'],
|
||||
defaultFormValue: 'default',
|
||||
}),
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue