diff --git a/addons/core/translations/resources/en-us.yaml b/addons/core/translations/resources/en-us.yaml index c984eb194..b8076beb2 100644 --- a/addons/core/translations/resources/en-us.yaml +++ b/addons/core/translations/resources/en-us.yaml @@ -319,6 +319,8 @@ credential-store: types: vault: Vault static: Static + help: + vault: The host details are brokered by a Vault server. form: address: label: Address diff --git a/ui/admin/app/components/form/credential-store/index.hbs b/ui/admin/app/components/form/credential-store/index.hbs index 1bf4344a0..c887438f1 100644 --- a/ui/admin/app/components/form/credential-store/index.hbs +++ b/ui/admin/app/components/form/credential-store/index.hbs @@ -6,12 +6,47 @@ @showEditToggle={{if @model.isNew false true}} as |form| > - + {{#if (feature-flag 'static-credentials')}} + + <:title>{{t 'form.type.label'}} + <:body> + {{#if @model.isNew}} + {{! Code to allow option to select between cred. store types (vault or static) when it is first created goes here}} + + {{else}} + + + + {{/if}} + + + {{else}} + + {{/if}}