feat(dashboard): Secret keys domain (#7030)

* setup secret keys

* add secret keys

* fix merge
This commit is contained in:
Kasper Fabricius Kristensen
2024-04-09 15:11:32 +02:00
committed by GitHub
parent 8eb2a4156d
commit 21be6ff7ed
26 changed files with 628 additions and 336 deletions
@@ -941,20 +941,54 @@
"deleteSalesChannelWarning": "You are about to delete the sales channel {{name}}. This action cannot be undone."
},
"apiKeyManagement": {
"domainTitle": "API Keys",
"domain": "{{ keyType }} API Keys",
"createKey": "Create key",
"createPublishableApiKey": "Create {{ keyType }} API Key",
"editKey": "Edit key",
"revoke": "Revoke",
"publishableApiKeyHint": "Publishable API keys are used to limit the scope of requests to specific sales channels.",
"deleteKeyWarning": "You are about to delete the API key {{title}}. This action cannot be undone.",
"revokeKeyWarning": "You are about to revoke the API key {{title}}. This action cannot be undone, and the key cannot be used in future requests.",
"removeSalesChannelWarning": "You are about to remove the sales channel {{name}} from the API key. This action cannot be undone.",
"removeSalesChannelsWarning_one": "You are about to remove {{count}} sales channel from the API key. This action cannot be undone.",
"removeSalesChannelsWarning_other": "You are about to remove {{count}} sales channels from the API key. This action cannot be undone.",
"createdBy": "Created by",
"revokedBy": "Revoked by"
"domain": {
"apiKeys": "API Keys",
"publishable": "Publishable API Keys",
"secret": "Secret API Keys"
},
"status": {
"active": "Active",
"revoked": "Revoked"
},
"type": {
"publishable": "Publishable",
"secret": "Secret"
},
"create": {
"createPublishableHeader": "Create Publishable API Key",
"createPublishableHint": "Create a new publishable API key to limit the scope of requests to specific sales channels.",
"createSecretHeader": "Create Secret API Key",
"createSecretHint": "Create a new secret API key to access the Medusa API.",
"secretKeyCreatedHeader": "Secret Key Created",
"secretKeyCreatedHint": "Your new secret key has been generated. Copy and securely store it now. This is the only time it will be displayed."
},
"edit": {
"header": "Edit API Key"
},
"tabs": {
"secret": "Secret",
"publishable": "Publishable"
},
"warnings": {
"delete": "You are about to delete the API key {{title}}. This action cannot be undone.",
"revoke": "You are about to revoke the API key {{title}}. This action cannot be undone, and the key cannot be used in future requests.",
"removeSalesChannel": "You are about to remove the sales channel {{name}} from the API key. This action cannot be undone.",
"removeSalesChannels_one": "You are about to remove {{count}} sales channel from the API key. This action cannot be undone.",
"removeSalesChannels_other": "You are about to remove {{count}} sales channels from the API key. This action cannot be undone.",
"salesChannelsSecretKey": "Sales channels cannot be added to a secret API key."
},
"actions": {
"revoke": "Revoke"
},
"table": {
"lastUsedAtHeader": "Last Used At",
"createdAtHeader": "Revoked At"
},
"fields": {
"lastUsedAtLabel": "Last used at",
"revokedByLabel": "Revoked by",
"createdByLabel": "Created by"
}
},
"returnReasons": {
"domain": "Return Reasons",