@pulumi/vault 5.6.0 → 5.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ad/getAccessCredentials.d.ts +15 -0
- package/ad/getAccessCredentials.js +1 -0
- package/ad/getAccessCredentials.js.map +1 -1
- package/ad/index.d.ts +12 -4
- package/ad/index.js +13 -26
- package/ad/index.js.map +1 -1
- package/ad/secretBackend.d.ts +39 -0
- package/ad/secretBackend.js +9 -3
- package/ad/secretBackend.js.map +1 -1
- package/ad/secretLibrary.d.ts +21 -0
- package/ad/secretLibrary.js +2 -0
- package/ad/secretLibrary.js.map +1 -1
- package/ad/secretRole.d.ts +21 -0
- package/ad/secretRole.js +2 -0
- package/ad/secretRole.js.map +1 -1
- package/alicloud/authBackendRole.d.ts +21 -0
- package/alicloud/authBackendRole.js +2 -0
- package/alicloud/authBackendRole.js.map +1 -1
- package/alicloud/index.d.ts +3 -1
- package/alicloud/index.js +4 -19
- package/alicloud/index.js.map +1 -1
- package/approle/authBackendLogin.d.ts +22 -1
- package/approle/authBackendLogin.js +3 -1
- package/approle/authBackendLogin.js.map +1 -1
- package/approle/authBackendRole.d.ts +21 -0
- package/approle/authBackendRole.js +2 -0
- package/approle/authBackendRole.js.map +1 -1
- package/approle/{authBackendRoleSecretID.d.ts → authBackendRoleSecretId.d.ts} +33 -12
- package/approle/{authBackendRoleSecretID.js → authBackendRoleSecretId.js} +16 -12
- package/approle/authBackendRoleSecretId.js.map +1 -0
- package/approle/getAuthBackendRoleId.d.ts +15 -0
- package/approle/getAuthBackendRoleId.js +1 -0
- package/approle/getAuthBackendRoleId.js.map +1 -1
- package/approle/index.d.ts +12 -4
- package/approle/index.js +15 -28
- package/approle/index.js.map +1 -1
- package/audit.d.ts +21 -0
- package/audit.js +2 -0
- package/audit.js.map +1 -1
- package/authBackend.d.ts +47 -10
- package/authBackend.js +4 -0
- package/authBackend.js.map +1 -1
- package/aws/authBackendCert.d.ts +21 -0
- package/aws/authBackendCert.js +2 -0
- package/aws/authBackendCert.js.map +1 -1
- package/aws/authBackendClient.d.ts +21 -0
- package/aws/authBackendClient.js +6 -2
- package/aws/authBackendClient.js.map +1 -1
- package/aws/authBackendIdentityWhitelist.d.ts +21 -0
- package/aws/authBackendIdentityWhitelist.js +2 -0
- package/aws/authBackendIdentityWhitelist.js.map +1 -1
- package/aws/authBackendLogin.d.ts +21 -0
- package/aws/authBackendLogin.js +4 -0
- package/aws/authBackendLogin.js.map +1 -1
- package/aws/authBackendRole.d.ts +21 -0
- package/aws/authBackendRole.js +2 -0
- package/aws/authBackendRole.js.map +1 -1
- package/aws/authBackendRoleTag.d.ts +21 -0
- package/aws/authBackendRoleTag.js +2 -0
- package/aws/authBackendRoleTag.js.map +1 -1
- package/aws/authBackendRoletagBlacklist.d.ts +21 -0
- package/aws/authBackendRoletagBlacklist.js +2 -0
- package/aws/authBackendRoletagBlacklist.js.map +1 -1
- package/aws/authBackendStsRole.d.ts +21 -0
- package/aws/authBackendStsRole.js +2 -0
- package/aws/authBackendStsRole.js.map +1 -1
- package/aws/getAccessCredentials.d.ts +15 -0
- package/aws/getAccessCredentials.js +1 -0
- package/aws/getAccessCredentials.js.map +1 -1
- package/aws/index.d.ts +33 -11
- package/aws/index.js +34 -47
- package/aws/index.js.map +1 -1
- package/aws/secretBackend.d.ts +36 -12
- package/aws/secretBackend.js +8 -14
- package/aws/secretBackend.js.map +1 -1
- package/aws/secretBackendRole.d.ts +21 -0
- package/aws/secretBackendRole.js +2 -0
- package/aws/secretBackendRole.js.map +1 -1
- package/azure/authBackendConfig.d.ts +21 -0
- package/azure/authBackendConfig.js +7 -3
- package/azure/authBackendConfig.js.map +1 -1
- package/azure/authBackendRole.d.ts +21 -0
- package/azure/authBackendRole.js +2 -0
- package/azure/authBackendRole.js.map +1 -1
- package/azure/backend.d.ts +36 -0
- package/azure/backend.js +10 -4
- package/azure/backend.js.map +1 -1
- package/azure/backendRole.d.ts +23 -1
- package/azure/backendRole.js +2 -0
- package/azure/backendRole.js.map +1 -1
- package/azure/getAccessCredentials.d.ts +15 -0
- package/azure/getAccessCredentials.js +1 -0
- package/azure/getAccessCredentials.js.map +1 -1
- package/azure/index.d.ts +15 -5
- package/azure/index.js +16 -29
- package/azure/index.js.map +1 -1
- package/certAuthBackendRole.d.ts +39 -3
- package/certAuthBackendRole.js +4 -0
- package/certAuthBackendRole.js.map +1 -1
- package/config/vars.d.ts +43 -3
- package/config/vars.js +64 -4
- package/config/vars.js.map +1 -1
- package/consul/index.d.ts +6 -2
- package/consul/index.js +7 -22
- package/consul/index.js.map +1 -1
- package/consul/secretBackend.d.ts +87 -15
- package/consul/secretBackend.js +24 -7
- package/consul/secretBackend.js.map +1 -1
- package/consul/secretBackendRole.d.ts +93 -10
- package/consul/secretBackendRole.js +14 -1
- package/consul/secretBackendRole.js.map +1 -1
- package/database/index.d.ts +12 -4
- package/database/index.js +13 -28
- package/database/index.js.map +1 -1
- package/database/secretBackendConnection.d.ts +35 -1
- package/database/secretBackendConnection.js +4 -0
- package/database/secretBackendConnection.js.map +1 -1
- package/database/secretBackendRole.d.ts +21 -0
- package/database/secretBackendRole.js +2 -0
- package/database/secretBackendRole.js.map +1 -1
- package/database/secretBackendStaticRole.d.ts +21 -0
- package/database/secretBackendStaticRole.js +2 -0
- package/database/secretBackendStaticRole.js.map +1 -1
- package/database/secretsMount.d.ts +41 -1
- package/database/secretsMount.js +6 -0
- package/database/secretsMount.js.map +1 -1
- package/egpPolicy.d.ts +21 -0
- package/egpPolicy.js +2 -0
- package/egpPolicy.js.map +1 -1
- package/gcp/authBackend.d.ts +71 -1
- package/gcp/authBackend.js +18 -2
- package/gcp/authBackend.js.map +1 -1
- package/gcp/authBackendRole.d.ts +21 -0
- package/gcp/authBackendRole.js +2 -0
- package/gcp/authBackendRole.js.map +1 -1
- package/gcp/getAuthBackendRole.d.ts +15 -0
- package/gcp/getAuthBackendRole.js +1 -0
- package/gcp/getAuthBackendRole.js.map +1 -1
- package/gcp/index.d.ts +18 -6
- package/gcp/index.js +19 -32
- package/gcp/index.js.map +1 -1
- package/gcp/secretBackend.d.ts +36 -0
- package/gcp/secretBackend.js +7 -1
- package/gcp/secretBackend.js.map +1 -1
- package/gcp/secretRoleset.d.ts +23 -1
- package/gcp/secretRoleset.js +2 -0
- package/gcp/secretRoleset.js.map +1 -1
- package/gcp/secretStaticAccount.d.ts +23 -1
- package/gcp/secretStaticAccount.js +2 -0
- package/gcp/secretStaticAccount.js.map +1 -1
- package/generic/endpoint.d.ts +21 -0
- package/generic/endpoint.js +5 -1
- package/generic/endpoint.js.map +1 -1
- package/generic/getSecret.d.ts +15 -0
- package/generic/getSecret.js +1 -0
- package/generic/getSecret.js.map +1 -1
- package/generic/index.d.ts +9 -3
- package/generic/index.js +10 -23
- package/generic/index.js.map +1 -1
- package/generic/secret.d.ts +21 -0
- package/generic/secret.js +5 -1
- package/generic/secret.js.map +1 -1
- package/getAuthBackend.d.ts +16 -1
- package/getAuthBackend.js +1 -0
- package/getAuthBackend.js.map +1 -1
- package/getNomadAccessToken.d.ts +15 -0
- package/getNomadAccessToken.js +1 -0
- package/getNomadAccessToken.js.map +1 -1
- package/getPolicyDocument.d.ts +5 -1
- package/getPolicyDocument.js +1 -0
- package/getPolicyDocument.js.map +1 -1
- package/github/authBackend.d.ts +38 -1
- package/github/authBackend.js +4 -0
- package/github/authBackend.js.map +1 -1
- package/github/index.d.ts +9 -3
- package/github/index.js +10 -25
- package/github/index.js.map +1 -1
- package/github/team.d.ts +21 -0
- package/github/team.js +2 -0
- package/github/team.js.map +1 -1
- package/github/user.d.ts +21 -0
- package/github/user.js +2 -0
- package/github/user.js.map +1 -1
- package/identity/entity.d.ts +21 -0
- package/identity/entity.js +2 -0
- package/identity/entity.js.map +1 -1
- package/identity/entityAlias.d.ts +21 -0
- package/identity/entityAlias.js +2 -0
- package/identity/entityAlias.js.map +1 -1
- package/identity/entityPolicies.d.ts +21 -0
- package/identity/entityPolicies.js +2 -0
- package/identity/entityPolicies.js.map +1 -1
- package/identity/getEntity.d.ts +16 -1
- package/identity/getEntity.js +1 -0
- package/identity/getEntity.js.map +1 -1
- package/identity/getGroup.d.ts +15 -0
- package/identity/getGroup.js +1 -0
- package/identity/getGroup.js.map +1 -1
- package/identity/getOidcClientCreds.d.ts +15 -0
- package/identity/getOidcClientCreds.js +1 -0
- package/identity/getOidcClientCreds.js.map +1 -1
- package/identity/getOidcOpenidConfig.d.ts +15 -0
- package/identity/getOidcOpenidConfig.js +1 -0
- package/identity/getOidcOpenidConfig.js.map +1 -1
- package/identity/getOidcPublicKeys.d.ts +15 -0
- package/identity/getOidcPublicKeys.js +1 -0
- package/identity/getOidcPublicKeys.js.map +1 -1
- package/identity/group.d.ts +21 -0
- package/identity/group.js +2 -0
- package/identity/group.js.map +1 -1
- package/identity/groupAlias.d.ts +21 -0
- package/identity/groupAlias.js +2 -0
- package/identity/groupAlias.js.map +1 -1
- package/identity/groupMemberEntityIds.d.ts +21 -0
- package/identity/groupMemberEntityIds.js +2 -0
- package/identity/groupMemberEntityIds.js.map +1 -1
- package/identity/groupPolicies.d.ts +21 -0
- package/identity/groupPolicies.js +2 -0
- package/identity/groupPolicies.js.map +1 -1
- package/identity/index.d.ts +75 -20
- package/identity/index.js +86 -66
- package/identity/index.js.map +1 -1
- package/identity/mfaDuo.d.ts +200 -0
- package/identity/mfaDuo.js +110 -0
- package/identity/mfaDuo.js.map +1 -0
- package/identity/mfaLoginEnforcement.d.ts +170 -0
- package/identity/mfaLoginEnforcement.js +96 -0
- package/identity/mfaLoginEnforcement.js.map +1 -0
- package/identity/mfaOkta.d.ts +188 -0
- package/identity/mfaOkta.js +105 -0
- package/identity/mfaOkta.js.map +1 -0
- package/identity/mfaPingid.d.ts +190 -0
- package/identity/mfaPingid.js +102 -0
- package/identity/mfaPingid.js.map +1 -0
- package/identity/mfaTotp.d.ts +218 -0
- package/identity/mfaTotp.js +104 -0
- package/identity/mfaTotp.js.map +1 -0
- package/identity/oidc.d.ts +21 -0
- package/identity/oidc.js +2 -0
- package/identity/oidc.js.map +1 -1
- package/identity/oidcAssignment.d.ts +23 -2
- package/identity/oidcAssignment.js +4 -2
- package/identity/oidcAssignment.js.map +1 -1
- package/identity/oidcClient.d.ts +21 -0
- package/identity/oidcClient.js +4 -0
- package/identity/oidcClient.js.map +1 -1
- package/identity/oidcKey.d.ts +21 -0
- package/identity/oidcKey.js +2 -0
- package/identity/oidcKey.js.map +1 -1
- package/identity/oidcKeyAllowedClientID.d.ts +21 -0
- package/identity/oidcKeyAllowedClientID.js +2 -0
- package/identity/oidcKeyAllowedClientID.js.map +1 -1
- package/identity/oidcProvider.d.ts +21 -0
- package/identity/oidcProvider.js +2 -0
- package/identity/oidcProvider.js.map +1 -1
- package/identity/oidcRole.d.ts +21 -0
- package/identity/oidcRole.js +2 -0
- package/identity/oidcRole.js.map +1 -1
- package/identity/oidcScope.d.ts +22 -3
- package/identity/oidcScope.js +3 -3
- package/identity/oidcScope.js.map +1 -1
- package/index.d.ts +75 -25
- package/index.js +78 -83
- package/index.js.map +1 -1
- package/jwt/authBackend.d.ts +38 -1
- package/jwt/authBackend.js +7 -1
- package/jwt/authBackend.js.map +1 -1
- package/jwt/authBackendRole.d.ts +57 -0
- package/jwt/authBackendRole.js +6 -0
- package/jwt/authBackendRole.js.map +1 -1
- package/jwt/index.d.ts +6 -2
- package/jwt/index.js +7 -22
- package/jwt/index.js.map +1 -1
- package/kmip/index.d.ts +9 -3
- package/kmip/index.js +10 -25
- package/kmip/index.js.map +1 -1
- package/kmip/secretBackend.d.ts +36 -0
- package/kmip/secretBackend.js +4 -0
- package/kmip/secretBackend.js.map +1 -1
- package/kmip/secretRole.d.ts +21 -0
- package/kmip/secretRole.js +2 -0
- package/kmip/secretRole.js.map +1 -1
- package/kmip/secretScope.d.ts +21 -0
- package/kmip/secretScope.js +2 -0
- package/kmip/secretScope.js.map +1 -1
- package/kubernetes/authBackendConfig.d.ts +21 -0
- package/kubernetes/authBackendConfig.js +5 -1
- package/kubernetes/authBackendConfig.js.map +1 -1
- package/kubernetes/authBackendRole.d.ts +21 -0
- package/kubernetes/authBackendRole.js +2 -0
- package/kubernetes/authBackendRole.js.map +1 -1
- package/kubernetes/getAuthBackendConfig.d.ts +15 -0
- package/kubernetes/getAuthBackendConfig.js +1 -0
- package/kubernetes/getAuthBackendConfig.js.map +1 -1
- package/kubernetes/getAuthBackendRole.d.ts +15 -0
- package/kubernetes/getAuthBackendRole.js +1 -0
- package/kubernetes/getAuthBackendRole.js.map +1 -1
- package/kubernetes/getServiceAccountToken.d.ts +156 -0
- package/kubernetes/getServiceAccountToken.js +67 -0
- package/kubernetes/getServiceAccountToken.js.map +1 -0
- package/kubernetes/index.d.ts +21 -4
- package/kubernetes/index.js +26 -24
- package/kubernetes/index.js.map +1 -1
- package/kubernetes/secretBackend.d.ts +303 -0
- package/kubernetes/secretBackend.js +114 -0
- package/kubernetes/secretBackend.js.map +1 -0
- package/kubernetes/secretBackendRole.d.ts +367 -0
- package/kubernetes/secretBackendRole.js +191 -0
- package/kubernetes/secretBackendRole.js.map +1 -0
- package/kv/getSecret.d.ts +104 -0
- package/kv/getSecret.js +53 -0
- package/kv/getSecret.js.map +1 -0
- package/kv/getSecretSubkeysV2.d.ts +132 -0
- package/kv/getSecretSubkeysV2.js +57 -0
- package/kv/getSecretSubkeysV2.js.map +1 -0
- package/kv/getSecretV2.d.ts +139 -0
- package/kv/getSecretV2.js +58 -0
- package/kv/getSecretV2.js.map +1 -0
- package/kv/getSecretsList.d.ts +85 -0
- package/kv/getSecretsList.js +58 -0
- package/kv/getSecretsList.js.map +1 -0
- package/kv/getSecretsListV2.d.ts +114 -0
- package/kv/getSecretsListV2.js +69 -0
- package/kv/getSecretsListV2.js.map +1 -0
- package/kv/index.d.ts +24 -0
- package/kv/index.js +47 -0
- package/kv/index.js.map +1 -0
- package/kv/secret.d.ts +145 -0
- package/kv/secret.js +106 -0
- package/kv/secret.js.map +1 -0
- package/kv/secretBackendV2.d.ts +154 -0
- package/kv/secretBackendV2.js +103 -0
- package/kv/secretBackendV2.js.map +1 -0
- package/kv/secretV2.d.ts +257 -0
- package/kv/secretV2.js +122 -0
- package/kv/secretV2.js.map +1 -0
- package/ldap/authBackend.d.ts +48 -0
- package/ldap/authBackend.js +10 -2
- package/ldap/authBackend.js.map +1 -1
- package/ldap/authBackendGroup.d.ts +21 -0
- package/ldap/authBackendGroup.js +2 -0
- package/ldap/authBackendGroup.js.map +1 -1
- package/ldap/authBackendUser.d.ts +21 -0
- package/ldap/authBackendUser.js +2 -0
- package/ldap/authBackendUser.js.map +1 -1
- package/ldap/index.d.ts +9 -3
- package/ldap/index.js +10 -25
- package/ldap/index.js.map +1 -1
- package/managed/index.d.ts +3 -0
- package/managed/index.js +22 -0
- package/managed/index.js.map +1 -0
- package/managed/keys.d.ts +104 -0
- package/managed/keys.js +64 -0
- package/managed/keys.js.map +1 -0
- package/mfaDuo.d.ts +21 -0
- package/mfaDuo.js +6 -2
- package/mfaDuo.js.map +1 -1
- package/mfaOkta.d.ts +21 -0
- package/mfaOkta.js +5 -1
- package/mfaOkta.js.map +1 -1
- package/mfaPingid.d.ts +21 -0
- package/mfaPingid.js +2 -0
- package/mfaPingid.js.map +1 -1
- package/mfaTotp.d.ts +21 -0
- package/mfaTotp.js +2 -0
- package/mfaTotp.js.map +1 -1
- package/mount.d.ts +33 -0
- package/mount.js +4 -0
- package/mount.js.map +1 -1
- package/namespace.d.ts +32 -18
- package/namespace.js +5 -16
- package/namespace.js.map +1 -1
- package/nomadSecretBackend.d.ts +36 -0
- package/nomadSecretBackend.js +9 -3
- package/nomadSecretBackend.js.map +1 -1
- package/nomadSecretRole.d.ts +21 -0
- package/nomadSecretRole.js +2 -0
- package/nomadSecretRole.js.map +1 -1
- package/okta/authBackend.d.ts +38 -1
- package/okta/authBackend.js +7 -1
- package/okta/authBackend.js.map +1 -1
- package/okta/authBackendGroup.d.ts +21 -0
- package/okta/authBackendGroup.js +2 -0
- package/okta/authBackendGroup.js.map +1 -1
- package/okta/authBackendUser.d.ts +21 -0
- package/okta/authBackendUser.js +2 -0
- package/okta/authBackendUser.js.map +1 -1
- package/okta/index.d.ts +9 -3
- package/okta/index.js +10 -25
- package/okta/index.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/passwordPolicy.d.ts +21 -0
- package/passwordPolicy.js +2 -0
- package/passwordPolicy.js.map +1 -1
- package/pkisecret/index.d.ts +30 -10
- package/pkisecret/index.js +31 -46
- package/pkisecret/index.js.map +1 -1
- package/pkisecret/secretBackendCert.d.ts +29 -0
- package/pkisecret/secretBackendCert.js +6 -0
- package/pkisecret/secretBackendCert.js.map +1 -1
- package/pkisecret/secretBackendConfigCa.d.ts +21 -0
- package/pkisecret/secretBackendConfigCa.js +5 -1
- package/pkisecret/secretBackendConfigCa.js.map +1 -1
- package/pkisecret/secretBackendConfigUrls.d.ts +21 -0
- package/pkisecret/secretBackendConfigUrls.js +2 -0
- package/pkisecret/secretBackendConfigUrls.js.map +1 -1
- package/pkisecret/secretBackendCrlConfig.d.ts +21 -0
- package/pkisecret/secretBackendCrlConfig.js +2 -0
- package/pkisecret/secretBackendCrlConfig.js.map +1 -1
- package/pkisecret/secretBackendIntermediateCertRequest.d.ts +54 -0
- package/pkisecret/secretBackendIntermediateCertRequest.js +8 -0
- package/pkisecret/secretBackendIntermediateCertRequest.js.map +1 -1
- package/pkisecret/secretBackendIntermediateSetSigned.d.ts +21 -0
- package/pkisecret/secretBackendIntermediateSetSigned.js +2 -0
- package/pkisecret/secretBackendIntermediateSetSigned.js.map +1 -1
- package/pkisecret/secretBackendRole.d.ts +24 -3
- package/pkisecret/secretBackendRole.js +2 -0
- package/pkisecret/secretBackendRole.js.map +1 -1
- package/pkisecret/secretBackendRootCert.d.ts +57 -3
- package/pkisecret/secretBackendRootCert.js +6 -0
- package/pkisecret/secretBackendRootCert.js.map +1 -1
- package/pkisecret/secretBackendRootSignIntermediate.d.ts +21 -0
- package/pkisecret/secretBackendRootSignIntermediate.js +2 -0
- package/pkisecret/secretBackendRootSignIntermediate.js.map +1 -1
- package/pkisecret/secretBackendSign.d.ts +29 -0
- package/pkisecret/secretBackendSign.js +4 -0
- package/pkisecret/secretBackendSign.js.map +1 -1
- package/policy.d.ts +21 -0
- package/policy.js +2 -0
- package/policy.js.map +1 -1
- package/provider.d.ts +43 -3
- package/provider.js +12 -2
- package/provider.js.map +1 -1
- package/quotaLeaseCount.d.ts +21 -0
- package/quotaLeaseCount.js +2 -0
- package/quotaLeaseCount.js.map +1 -1
- package/quotaRateLimit.d.ts +48 -0
- package/quotaRateLimit.js +6 -0
- package/quotaRateLimit.js.map +1 -1
- package/rabbitmq/index.d.ts +6 -2
- package/rabbitmq/index.js +7 -22
- package/rabbitmq/index.js.map +1 -1
- package/rabbitmq/secretBackend.d.ts +36 -0
- package/rabbitmq/secretBackend.js +8 -2
- package/rabbitmq/secretBackend.js.map +1 -1
- package/rabbitmq/secretBackendRole.d.ts +23 -1
- package/rabbitmq/secretBackendRole.js +2 -0
- package/rabbitmq/secretBackendRole.js.map +1 -1
- package/raftAutopilot.d.ts +21 -0
- package/raftAutopilot.js +2 -0
- package/raftAutopilot.js.map +1 -1
- package/raftSnapshotAgentConfig.d.ts +62 -0
- package/raftSnapshotAgentConfig.js +43 -0
- package/raftSnapshotAgentConfig.js.map +1 -1
- package/rgpPolicy.d.ts +21 -0
- package/rgpPolicy.js +2 -0
- package/rgpPolicy.js.map +1 -1
- package/ssh/index.d.ts +6 -2
- package/ssh/index.js +7 -22
- package/ssh/index.js.map +1 -1
- package/ssh/secretBackendCa.d.ts +29 -0
- package/ssh/secretBackendCa.js +13 -1
- package/ssh/secretBackendCa.js.map +1 -1
- package/ssh/secretBackendRole.d.ts +23 -1
- package/ssh/secretBackendRole.js +2 -0
- package/ssh/secretBackendRole.js.map +1 -1
- package/terraformcloud/index.d.ts +9 -3
- package/terraformcloud/index.js +10 -25
- package/terraformcloud/index.js.map +1 -1
- package/terraformcloud/secretBackend.d.ts +36 -0
- package/terraformcloud/secretBackend.js +7 -1
- package/terraformcloud/secretBackend.js.map +1 -1
- package/terraformcloud/secretCreds.d.ts +21 -0
- package/terraformcloud/secretCreds.js +4 -0
- package/terraformcloud/secretCreds.js.map +1 -1
- package/terraformcloud/secretRole.d.ts +21 -0
- package/terraformcloud/secretRole.js +2 -0
- package/terraformcloud/secretRole.js.map +1 -1
- package/token.d.ts +42 -0
- package/token.js +9 -0
- package/token.js.map +1 -1
- package/tokenauth/authBackendRole.d.ts +21 -0
- package/tokenauth/authBackendRole.js +2 -0
- package/tokenauth/authBackendRole.js.map +1 -1
- package/tokenauth/index.d.ts +3 -1
- package/tokenauth/index.js +4 -19
- package/tokenauth/index.js.map +1 -1
- package/transform/index.d.ts +18 -6
- package/transform/index.js +19 -30
- package/transform/index.js.map +1 -1
- package/transform/transformation.d.ts +0 -25
- package/transform/transformation.js +0 -25
- package/transform/transformation.js.map +1 -1
- package/transit/getDecrypt.d.ts +3 -0
- package/transit/getDecrypt.js +1 -0
- package/transit/getDecrypt.js.map +1 -1
- package/transit/getEncrypt.d.ts +3 -0
- package/transit/getEncrypt.js +1 -0
- package/transit/getEncrypt.js.map +1 -1
- package/transit/index.d.ts +12 -4
- package/transit/index.js +13 -24
- package/transit/index.js.map +1 -1
- package/transit/secretBackendKey.d.ts +21 -0
- package/transit/secretBackendKey.js +2 -0
- package/transit/secretBackendKey.js.map +1 -1
- package/transit/secretCacheConfig.d.ts +21 -0
- package/transit/secretCacheConfig.js +2 -0
- package/transit/secretCacheConfig.js.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +408 -4
- package/types/output.d.ts +409 -5
- package/utilities.js +13 -1
- package/utilities.js.map +1 -1
- package/approle/authBackendRoleSecretID.js.map +0 -1
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as fs from "fs";
|
|
8
|
+
* import * as vault from "@pulumi/vault";
|
|
9
|
+
*
|
|
10
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
11
|
+
* path: "kubernetes",
|
|
12
|
+
* description: "kubernetes secrets engine description",
|
|
13
|
+
* defaultLeaseTtlSeconds: 43200,
|
|
14
|
+
* maxLeaseTtlSeconds: 86400,
|
|
15
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
16
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
17
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
18
|
+
* disableLocalCaJwt: false,
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* The Kubernetes secret backend can be imported using its `path` e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import vault:kubernetes/secretBackend:SecretBackend config kubernetes
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export declare class SecretBackend extends pulumi.CustomResource {
|
|
31
|
+
/**
|
|
32
|
+
* Get an existing SecretBackend resource's state with the given name, ID, and optional extra
|
|
33
|
+
* properties used to qualify the lookup.
|
|
34
|
+
*
|
|
35
|
+
* @param name The _unique_ name of the resulting resource.
|
|
36
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
37
|
+
* @param state Any extra arguments used during the lookup.
|
|
38
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
39
|
+
*/
|
|
40
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretBackendState, opts?: pulumi.CustomResourceOptions): SecretBackend;
|
|
41
|
+
/**
|
|
42
|
+
* Returns true if the given object is an instance of SecretBackend. This is designed to work even
|
|
43
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
44
|
+
*/
|
|
45
|
+
static isInstance(obj: any): obj is SecretBackend;
|
|
46
|
+
/**
|
|
47
|
+
* Accessor of the mount
|
|
48
|
+
*/
|
|
49
|
+
readonly accessor: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* List of managed key registry entry names that the mount in question is allowed to access
|
|
52
|
+
*/
|
|
53
|
+
readonly allowedManagedKeys: pulumi.Output<string[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
|
|
56
|
+
*/
|
|
57
|
+
readonly auditNonHmacRequestKeys: pulumi.Output<string[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
|
|
60
|
+
*/
|
|
61
|
+
readonly auditNonHmacResponseKeys: pulumi.Output<string[]>;
|
|
62
|
+
/**
|
|
63
|
+
* Default lease duration for tokens and secrets in seconds
|
|
64
|
+
*/
|
|
65
|
+
readonly defaultLeaseTtlSeconds: pulumi.Output<number>;
|
|
66
|
+
/**
|
|
67
|
+
* Human-friendly description of the mount
|
|
68
|
+
*/
|
|
69
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
70
|
+
/**
|
|
71
|
+
* Disable defaulting to the local CA certificate and
|
|
72
|
+
* service account JWT when Vault is running in a Kubernetes pod.
|
|
73
|
+
*/
|
|
74
|
+
readonly disableLocalCaJwt: pulumi.Output<boolean | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Enable the secrets engine to access Vault's external entropy source
|
|
77
|
+
*/
|
|
78
|
+
readonly externalEntropyAccess: pulumi.Output<boolean | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* A PEM-encoded CA certificate used by the
|
|
81
|
+
* secrets engine to verify the Kubernetes API server certificate. Defaults to the local
|
|
82
|
+
* pod’s CA if Vault is running in Kubernetes. Otherwise, defaults to the root CA set where
|
|
83
|
+
* Vault is running.
|
|
84
|
+
*/
|
|
85
|
+
readonly kubernetesCaCert: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The Kubernetes API URL to connect to. Required if the
|
|
88
|
+
* standard pod environment variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT`
|
|
89
|
+
* are not set on the host that Vault is running on.
|
|
90
|
+
*/
|
|
91
|
+
readonly kubernetesHost: pulumi.Output<string | undefined>;
|
|
92
|
+
/**
|
|
93
|
+
* Local mount flag that can be explicitly set to true to enforce local mount in HA environment
|
|
94
|
+
*/
|
|
95
|
+
readonly local: pulumi.Output<boolean | undefined>;
|
|
96
|
+
/**
|
|
97
|
+
* Maximum possible lease duration for tokens and secrets in seconds
|
|
98
|
+
*/
|
|
99
|
+
readonly maxLeaseTtlSeconds: pulumi.Output<number>;
|
|
100
|
+
/**
|
|
101
|
+
* The namespace to provision the resource in.
|
|
102
|
+
* The value should not contain leading or trailing forward slashes.
|
|
103
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
104
|
+
* *Available only for Vault Enterprise*.
|
|
105
|
+
*/
|
|
106
|
+
readonly namespace: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies mount type specific options that are passed to the backend
|
|
109
|
+
*/
|
|
110
|
+
readonly options: pulumi.Output<{
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
} | undefined>;
|
|
113
|
+
/**
|
|
114
|
+
* Where the secret backend will be mounted
|
|
115
|
+
*/
|
|
116
|
+
readonly path: pulumi.Output<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability
|
|
119
|
+
*/
|
|
120
|
+
readonly sealWrap: pulumi.Output<boolean>;
|
|
121
|
+
/**
|
|
122
|
+
* The JSON web token of the service account used by the
|
|
123
|
+
* secrets engine to manage Kubernetes credentials. Defaults to the local pod’s JWT if Vault
|
|
124
|
+
* is running in Kubernetes.
|
|
125
|
+
*/
|
|
126
|
+
readonly serviceAccountJwt: pulumi.Output<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Create a SecretBackend resource with the given unique name, arguments, and options.
|
|
129
|
+
*
|
|
130
|
+
* @param name The _unique_ name of the resource.
|
|
131
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
132
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
133
|
+
*/
|
|
134
|
+
constructor(name: string, args: SecretBackendArgs, opts?: pulumi.CustomResourceOptions);
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Input properties used for looking up and filtering SecretBackend resources.
|
|
138
|
+
*/
|
|
139
|
+
export interface SecretBackendState {
|
|
140
|
+
/**
|
|
141
|
+
* Accessor of the mount
|
|
142
|
+
*/
|
|
143
|
+
accessor?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* List of managed key registry entry names that the mount in question is allowed to access
|
|
146
|
+
*/
|
|
147
|
+
allowedManagedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
148
|
+
/**
|
|
149
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
|
|
150
|
+
*/
|
|
151
|
+
auditNonHmacRequestKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
|
+
/**
|
|
153
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
|
|
154
|
+
*/
|
|
155
|
+
auditNonHmacResponseKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
156
|
+
/**
|
|
157
|
+
* Default lease duration for tokens and secrets in seconds
|
|
158
|
+
*/
|
|
159
|
+
defaultLeaseTtlSeconds?: pulumi.Input<number>;
|
|
160
|
+
/**
|
|
161
|
+
* Human-friendly description of the mount
|
|
162
|
+
*/
|
|
163
|
+
description?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Disable defaulting to the local CA certificate and
|
|
166
|
+
* service account JWT when Vault is running in a Kubernetes pod.
|
|
167
|
+
*/
|
|
168
|
+
disableLocalCaJwt?: pulumi.Input<boolean>;
|
|
169
|
+
/**
|
|
170
|
+
* Enable the secrets engine to access Vault's external entropy source
|
|
171
|
+
*/
|
|
172
|
+
externalEntropyAccess?: pulumi.Input<boolean>;
|
|
173
|
+
/**
|
|
174
|
+
* A PEM-encoded CA certificate used by the
|
|
175
|
+
* secrets engine to verify the Kubernetes API server certificate. Defaults to the local
|
|
176
|
+
* pod’s CA if Vault is running in Kubernetes. Otherwise, defaults to the root CA set where
|
|
177
|
+
* Vault is running.
|
|
178
|
+
*/
|
|
179
|
+
kubernetesCaCert?: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* The Kubernetes API URL to connect to. Required if the
|
|
182
|
+
* standard pod environment variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT`
|
|
183
|
+
* are not set on the host that Vault is running on.
|
|
184
|
+
*/
|
|
185
|
+
kubernetesHost?: pulumi.Input<string>;
|
|
186
|
+
/**
|
|
187
|
+
* Local mount flag that can be explicitly set to true to enforce local mount in HA environment
|
|
188
|
+
*/
|
|
189
|
+
local?: pulumi.Input<boolean>;
|
|
190
|
+
/**
|
|
191
|
+
* Maximum possible lease duration for tokens and secrets in seconds
|
|
192
|
+
*/
|
|
193
|
+
maxLeaseTtlSeconds?: pulumi.Input<number>;
|
|
194
|
+
/**
|
|
195
|
+
* The namespace to provision the resource in.
|
|
196
|
+
* The value should not contain leading or trailing forward slashes.
|
|
197
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
198
|
+
* *Available only for Vault Enterprise*.
|
|
199
|
+
*/
|
|
200
|
+
namespace?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* Specifies mount type specific options that are passed to the backend
|
|
203
|
+
*/
|
|
204
|
+
options?: pulumi.Input<{
|
|
205
|
+
[key: string]: any;
|
|
206
|
+
}>;
|
|
207
|
+
/**
|
|
208
|
+
* Where the secret backend will be mounted
|
|
209
|
+
*/
|
|
210
|
+
path?: pulumi.Input<string>;
|
|
211
|
+
/**
|
|
212
|
+
* Enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability
|
|
213
|
+
*/
|
|
214
|
+
sealWrap?: pulumi.Input<boolean>;
|
|
215
|
+
/**
|
|
216
|
+
* The JSON web token of the service account used by the
|
|
217
|
+
* secrets engine to manage Kubernetes credentials. Defaults to the local pod’s JWT if Vault
|
|
218
|
+
* is running in Kubernetes.
|
|
219
|
+
*/
|
|
220
|
+
serviceAccountJwt?: pulumi.Input<string>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The set of arguments for constructing a SecretBackend resource.
|
|
224
|
+
*/
|
|
225
|
+
export interface SecretBackendArgs {
|
|
226
|
+
/**
|
|
227
|
+
* List of managed key registry entry names that the mount in question is allowed to access
|
|
228
|
+
*/
|
|
229
|
+
allowedManagedKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
230
|
+
/**
|
|
231
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the request data object.
|
|
232
|
+
*/
|
|
233
|
+
auditNonHmacRequestKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
234
|
+
/**
|
|
235
|
+
* Specifies the list of keys that will not be HMAC'd by audit devices in the response data object.
|
|
236
|
+
*/
|
|
237
|
+
auditNonHmacResponseKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
238
|
+
/**
|
|
239
|
+
* Default lease duration for tokens and secrets in seconds
|
|
240
|
+
*/
|
|
241
|
+
defaultLeaseTtlSeconds?: pulumi.Input<number>;
|
|
242
|
+
/**
|
|
243
|
+
* Human-friendly description of the mount
|
|
244
|
+
*/
|
|
245
|
+
description?: pulumi.Input<string>;
|
|
246
|
+
/**
|
|
247
|
+
* Disable defaulting to the local CA certificate and
|
|
248
|
+
* service account JWT when Vault is running in a Kubernetes pod.
|
|
249
|
+
*/
|
|
250
|
+
disableLocalCaJwt?: pulumi.Input<boolean>;
|
|
251
|
+
/**
|
|
252
|
+
* Enable the secrets engine to access Vault's external entropy source
|
|
253
|
+
*/
|
|
254
|
+
externalEntropyAccess?: pulumi.Input<boolean>;
|
|
255
|
+
/**
|
|
256
|
+
* A PEM-encoded CA certificate used by the
|
|
257
|
+
* secrets engine to verify the Kubernetes API server certificate. Defaults to the local
|
|
258
|
+
* pod’s CA if Vault is running in Kubernetes. Otherwise, defaults to the root CA set where
|
|
259
|
+
* Vault is running.
|
|
260
|
+
*/
|
|
261
|
+
kubernetesCaCert?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* The Kubernetes API URL to connect to. Required if the
|
|
264
|
+
* standard pod environment variables `KUBERNETES_SERVICE_HOST` or `KUBERNETES_SERVICE_PORT`
|
|
265
|
+
* are not set on the host that Vault is running on.
|
|
266
|
+
*/
|
|
267
|
+
kubernetesHost?: pulumi.Input<string>;
|
|
268
|
+
/**
|
|
269
|
+
* Local mount flag that can be explicitly set to true to enforce local mount in HA environment
|
|
270
|
+
*/
|
|
271
|
+
local?: pulumi.Input<boolean>;
|
|
272
|
+
/**
|
|
273
|
+
* Maximum possible lease duration for tokens and secrets in seconds
|
|
274
|
+
*/
|
|
275
|
+
maxLeaseTtlSeconds?: pulumi.Input<number>;
|
|
276
|
+
/**
|
|
277
|
+
* The namespace to provision the resource in.
|
|
278
|
+
* The value should not contain leading or trailing forward slashes.
|
|
279
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
280
|
+
* *Available only for Vault Enterprise*.
|
|
281
|
+
*/
|
|
282
|
+
namespace?: pulumi.Input<string>;
|
|
283
|
+
/**
|
|
284
|
+
* Specifies mount type specific options that are passed to the backend
|
|
285
|
+
*/
|
|
286
|
+
options?: pulumi.Input<{
|
|
287
|
+
[key: string]: any;
|
|
288
|
+
}>;
|
|
289
|
+
/**
|
|
290
|
+
* Where the secret backend will be mounted
|
|
291
|
+
*/
|
|
292
|
+
path: pulumi.Input<string>;
|
|
293
|
+
/**
|
|
294
|
+
* Enable seal wrapping for the mount, causing values stored by the mount to be wrapped by the seal's encryption capability
|
|
295
|
+
*/
|
|
296
|
+
sealWrap?: pulumi.Input<boolean>;
|
|
297
|
+
/**
|
|
298
|
+
* The JSON web token of the service account used by the
|
|
299
|
+
* secrets engine to manage Kubernetes credentials. Defaults to the local pod’s JWT if Vault
|
|
300
|
+
* is running in Kubernetes.
|
|
301
|
+
*/
|
|
302
|
+
serviceAccountJwt?: pulumi.Input<string>;
|
|
303
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SecretBackend = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as fs from "fs";
|
|
14
|
+
* import * as vault from "@pulumi/vault";
|
|
15
|
+
*
|
|
16
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
17
|
+
* path: "kubernetes",
|
|
18
|
+
* description: "kubernetes secrets engine description",
|
|
19
|
+
* defaultLeaseTtlSeconds: 43200,
|
|
20
|
+
* maxLeaseTtlSeconds: 86400,
|
|
21
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
22
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
23
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
24
|
+
* disableLocalCaJwt: false,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* The Kubernetes secret backend can be imported using its `path` e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import vault:kubernetes/secretBackend:SecretBackend config kubernetes
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
class SecretBackend extends pulumi.CustomResource {
|
|
37
|
+
constructor(name, argsOrState, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (opts.id) {
|
|
41
|
+
const state = argsOrState;
|
|
42
|
+
resourceInputs["accessor"] = state ? state.accessor : undefined;
|
|
43
|
+
resourceInputs["allowedManagedKeys"] = state ? state.allowedManagedKeys : undefined;
|
|
44
|
+
resourceInputs["auditNonHmacRequestKeys"] = state ? state.auditNonHmacRequestKeys : undefined;
|
|
45
|
+
resourceInputs["auditNonHmacResponseKeys"] = state ? state.auditNonHmacResponseKeys : undefined;
|
|
46
|
+
resourceInputs["defaultLeaseTtlSeconds"] = state ? state.defaultLeaseTtlSeconds : undefined;
|
|
47
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
48
|
+
resourceInputs["disableLocalCaJwt"] = state ? state.disableLocalCaJwt : undefined;
|
|
49
|
+
resourceInputs["externalEntropyAccess"] = state ? state.externalEntropyAccess : undefined;
|
|
50
|
+
resourceInputs["kubernetesCaCert"] = state ? state.kubernetesCaCert : undefined;
|
|
51
|
+
resourceInputs["kubernetesHost"] = state ? state.kubernetesHost : undefined;
|
|
52
|
+
resourceInputs["local"] = state ? state.local : undefined;
|
|
53
|
+
resourceInputs["maxLeaseTtlSeconds"] = state ? state.maxLeaseTtlSeconds : undefined;
|
|
54
|
+
resourceInputs["namespace"] = state ? state.namespace : undefined;
|
|
55
|
+
resourceInputs["options"] = state ? state.options : undefined;
|
|
56
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
57
|
+
resourceInputs["sealWrap"] = state ? state.sealWrap : undefined;
|
|
58
|
+
resourceInputs["serviceAccountJwt"] = state ? state.serviceAccountJwt : undefined;
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
const args = argsOrState;
|
|
62
|
+
if ((!args || args.path === undefined) && !opts.urn) {
|
|
63
|
+
throw new Error("Missing required property 'path'");
|
|
64
|
+
}
|
|
65
|
+
resourceInputs["allowedManagedKeys"] = args ? args.allowedManagedKeys : undefined;
|
|
66
|
+
resourceInputs["auditNonHmacRequestKeys"] = args ? args.auditNonHmacRequestKeys : undefined;
|
|
67
|
+
resourceInputs["auditNonHmacResponseKeys"] = args ? args.auditNonHmacResponseKeys : undefined;
|
|
68
|
+
resourceInputs["defaultLeaseTtlSeconds"] = args ? args.defaultLeaseTtlSeconds : undefined;
|
|
69
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
70
|
+
resourceInputs["disableLocalCaJwt"] = args ? args.disableLocalCaJwt : undefined;
|
|
71
|
+
resourceInputs["externalEntropyAccess"] = args ? args.externalEntropyAccess : undefined;
|
|
72
|
+
resourceInputs["kubernetesCaCert"] = args ? args.kubernetesCaCert : undefined;
|
|
73
|
+
resourceInputs["kubernetesHost"] = args ? args.kubernetesHost : undefined;
|
|
74
|
+
resourceInputs["local"] = args ? args.local : undefined;
|
|
75
|
+
resourceInputs["maxLeaseTtlSeconds"] = args ? args.maxLeaseTtlSeconds : undefined;
|
|
76
|
+
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
77
|
+
resourceInputs["options"] = args ? args.options : undefined;
|
|
78
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
79
|
+
resourceInputs["sealWrap"] = args ? args.sealWrap : undefined;
|
|
80
|
+
resourceInputs["serviceAccountJwt"] = (args === null || args === void 0 ? void 0 : args.serviceAccountJwt) ? pulumi.secret(args.serviceAccountJwt) : undefined;
|
|
81
|
+
resourceInputs["accessor"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
const secretOpts = { additionalSecretOutputs: ["serviceAccountJwt"] };
|
|
85
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
86
|
+
super(SecretBackend.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Get an existing SecretBackend resource's state with the given name, ID, and optional extra
|
|
90
|
+
* properties used to qualify the lookup.
|
|
91
|
+
*
|
|
92
|
+
* @param name The _unique_ name of the resulting resource.
|
|
93
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
94
|
+
* @param state Any extra arguments used during the lookup.
|
|
95
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
96
|
+
*/
|
|
97
|
+
static get(name, id, state, opts) {
|
|
98
|
+
return new SecretBackend(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Returns true if the given object is an instance of SecretBackend. This is designed to work even
|
|
102
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
103
|
+
*/
|
|
104
|
+
static isInstance(obj) {
|
|
105
|
+
if (obj === undefined || obj === null) {
|
|
106
|
+
return false;
|
|
107
|
+
}
|
|
108
|
+
return obj['__pulumiType'] === SecretBackend.__pulumiType;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.SecretBackend = SecretBackend;
|
|
112
|
+
/** @internal */
|
|
113
|
+
SecretBackend.__pulumiType = 'vault:kubernetes/secretBackend:SecretBackend';
|
|
114
|
+
//# sourceMappingURL=secretBackend.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretBackend.js","sourceRoot":"","sources":["../../kubernetes/secretBackend.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IAoHpD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IA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