Secret Backend Key
Creates a key on a PKI Secret Backend for Vault.
Example Usage
resources:
pki:
type: vault:Mount
properties:
path: pki
type: pki
defaultLeaseTtlSeconds: 3600
maxLeaseTtlSeconds: 86400
key:
type: vault:pkiSecret:SecretBackendKey
properties:
mount: ${pki.path}
type: exported
keyName: example-key
keyType: rsa
keyBits: '2048'
Content copied to clipboard
Import
PKI secret backend key can be imported using the id
, e.g.
$ pulumi import vault:pkiSecret/secretBackendKey:SecretBackendKey key pki/key/bf9b0d48-d0dd-652c-30be-77d04fc7e94d
Content copied to clipboard