feat: Update connect dialog with credentials api response

This commit is contained in:
Susmitha Girumala committed 2021-06-23 22:12:20 -04:00
1 parent 295d236b35
commit 1f328e54ee
5 files changed
+147 -92

No files matched your search

+25 -21
View File
@@ -65,10 +65,10 @@ export default function initializeMockIPC(server) {
name: 'Library Name',
description: 'Library Description',
credential_store_id: 'csvlt_Q1HFGt7Jpm',
type: 'vault'
type: 'vault',
},
purpose: 'application',
secret: btoa('just-a-random-string')
secret: btoa('just-a-random-string'),
},
{
credential_library: {
@@ -76,16 +76,18 @@ export default function initializeMockIPC(server) {
name: 'Library Name',
description: 'Library Description',
credential_store_id: 'csvlt_Q1HFGt7Jpm',
type: 'vault'
type: 'vault',
},
purpose: 'ingress',
secret: btoa(JSON.stringify({
key1: 'value 1',
key2: true,
key3: {
description: 'nested values'
}
}))
secret: btoa(
JSON.stringify({
key1: 'value 1',
key2: true,
key3: {
description: 'nested values',
},
})
),
},
{
credential_library: {
@@ -93,10 +95,10 @@ export default function initializeMockIPC(server) {
name: 'Library Name',
description: 'Library Description',
credential_store_id: 'csvlt_Q1HFGt7Jpm',
type: 'vault'
type: 'vault',
},
purpose: 'application',
secret: btoa('just-a-random-string')
secret: btoa('just-a-random-string'),
},
{
credential_library: {
@@ -104,18 +106,20 @@ export default function initializeMockIPC(server) {
name: 'Library Name',
description: 'Library Description',
credential_store_id: 'csvlt_Q1HFGt7Jpm',
type: 'vault'
type: 'vault',
},
purpose: 'egress',
secret: btoa(JSON.stringify({
key1: 'value 1',
key2: true,
key3: {
description: 'nested values'
}
}))
secret: btoa(
JSON.stringify({
key1: 'value 1',
key2: true,
key3: {
description: 'nested values',
},
})
),
},
]
],
};
}
+6
View File
@@ -62,6 +62,8 @@ client_secret:
help: The client secret is set-only and may not be unset.
client_secret_hmac:
label: Client Secret HMAC
secret:
label: Secret
max_age:
label: Maximum Age
help: The OIDC "max_age" parameter sent to the Authorization Server indicating a maximum acceptable time in seconds since the user's last authentication before requiring the user to reauthenticate. 0 indicates an immediate need to reauthenticate.
@@ -108,3 +110,7 @@ email:
label: Email
full_name:
label: Full Name
key:
label: Key
value:
label: Value
@@ -150,8 +150,13 @@ session:
credential:
title: Credential
title_plural: Credentials
secret:
label: Secret
actions:
detail: Credential library details
raw-api:
show: View raw API output
hide: Hide raw API output
org:
title: Org
title_plural: Orgs