@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,367 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* Example using `serviceAccountName` mode:
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as fs from "fs";
|
|
10
|
+
* import * as vault from "@pulumi/vault";
|
|
11
|
+
*
|
|
12
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
13
|
+
* path: "kubernetes",
|
|
14
|
+
* description: "kubernetes secrets engine description",
|
|
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
|
+
* const sa_example = new vault.kubernetes.SecretBackendRole("sa-example", {
|
|
21
|
+
* backend: config.path,
|
|
22
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
23
|
+
* tokenMaxTtl: 43200,
|
|
24
|
+
* tokenDefaultTtl: 21600,
|
|
25
|
+
* serviceAccountName: "test-service-account-with-generated-token",
|
|
26
|
+
* extraLabels: {
|
|
27
|
+
* id: "abc123",
|
|
28
|
+
* name: "some_name",
|
|
29
|
+
* },
|
|
30
|
+
* extraAnnotations: {
|
|
31
|
+
* env: "development",
|
|
32
|
+
* location: "earth",
|
|
33
|
+
* },
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* Example using `kubernetesRoleName` mode:
|
|
38
|
+
*
|
|
39
|
+
* ```typescript
|
|
40
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
41
|
+
* import * as fs from "fs";
|
|
42
|
+
* import * as vault from "@pulumi/vault";
|
|
43
|
+
*
|
|
44
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
45
|
+
* path: "kubernetes",
|
|
46
|
+
* description: "kubernetes secrets engine description",
|
|
47
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
48
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
49
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
50
|
+
* disableLocalCaJwt: false,
|
|
51
|
+
* });
|
|
52
|
+
* const name_example = new vault.kubernetes.SecretBackendRole("name-example", {
|
|
53
|
+
* backend: config.path,
|
|
54
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
55
|
+
* tokenMaxTtl: 43200,
|
|
56
|
+
* tokenDefaultTtl: 21600,
|
|
57
|
+
* kubernetesRoleName: "vault-k8s-secrets-role",
|
|
58
|
+
* extraLabels: {
|
|
59
|
+
* id: "abc123",
|
|
60
|
+
* name: "some_name",
|
|
61
|
+
* },
|
|
62
|
+
* extraAnnotations: {
|
|
63
|
+
* env: "development",
|
|
64
|
+
* location: "earth",
|
|
65
|
+
* },
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* Example using `generatedRoleRules` mode:
|
|
70
|
+
*
|
|
71
|
+
* ```typescript
|
|
72
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
73
|
+
* import * as fs from "fs";
|
|
74
|
+
* import * as vault from "@pulumi/vault";
|
|
75
|
+
*
|
|
76
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
77
|
+
* path: "kubernetes",
|
|
78
|
+
* description: "kubernetes secrets engine description",
|
|
79
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
80
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
81
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
82
|
+
* disableLocalCaJwt: false,
|
|
83
|
+
* });
|
|
84
|
+
* const rules_example = new vault.kubernetes.SecretBackendRole("rules-example", {
|
|
85
|
+
* backend: config.path,
|
|
86
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
87
|
+
* tokenMaxTtl: 43200,
|
|
88
|
+
* tokenDefaultTtl: 21600,
|
|
89
|
+
* kubernetesRoleType: "Role",
|
|
90
|
+
* generatedRoleRules: `rules:
|
|
91
|
+
* - apiGroups: [""]
|
|
92
|
+
* resources: ["pods"]
|
|
93
|
+
* verbs: ["list"]
|
|
94
|
+
* `,
|
|
95
|
+
* extraLabels: {
|
|
96
|
+
* id: "abc123",
|
|
97
|
+
* name: "some_name",
|
|
98
|
+
* },
|
|
99
|
+
* extraAnnotations: {
|
|
100
|
+
* env: "development",
|
|
101
|
+
* location: "earth",
|
|
102
|
+
* },
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* ## Import
|
|
107
|
+
*
|
|
108
|
+
* The Kubernetes secret backend role can be imported using the full path to the role of the form`<backend_path>/roles/<role_name>` e.g.
|
|
109
|
+
*
|
|
110
|
+
* ```sh
|
|
111
|
+
* $ pulumi import vault:kubernetes/secretBackendRole:SecretBackendRole example kubernetes kubernetes/roles/example-role
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
export declare class SecretBackendRole extends pulumi.CustomResource {
|
|
115
|
+
/**
|
|
116
|
+
* Get an existing SecretBackendRole resource's state with the given name, ID, and optional extra
|
|
117
|
+
* properties used to qualify the lookup.
|
|
118
|
+
*
|
|
119
|
+
* @param name The _unique_ name of the resulting resource.
|
|
120
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
121
|
+
* @param state Any extra arguments used during the lookup.
|
|
122
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
123
|
+
*/
|
|
124
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SecretBackendRoleState, opts?: pulumi.CustomResourceOptions): SecretBackendRole;
|
|
125
|
+
/**
|
|
126
|
+
* Returns true if the given object is an instance of SecretBackendRole. This is designed to work even
|
|
127
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
128
|
+
*/
|
|
129
|
+
static isInstance(obj: any): obj is SecretBackendRole;
|
|
130
|
+
/**
|
|
131
|
+
* The list of Kubernetes namespaces this role
|
|
132
|
+
* can generate credentials for. If set to `*` all namespaces are allowed.
|
|
133
|
+
*/
|
|
134
|
+
readonly allowedKubernetesNamespaces: pulumi.Output<string[]>;
|
|
135
|
+
/**
|
|
136
|
+
* The path of the Kubernetes Secrets Engine backend mount to create
|
|
137
|
+
* the role in.
|
|
138
|
+
*/
|
|
139
|
+
readonly backend: pulumi.Output<string>;
|
|
140
|
+
/**
|
|
141
|
+
* Additional annotations to apply to all generated
|
|
142
|
+
* Kubernetes objects.
|
|
143
|
+
*/
|
|
144
|
+
readonly extraAnnotations: pulumi.Output<{
|
|
145
|
+
[key: string]: string;
|
|
146
|
+
} | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Additional labels to apply to all generated Kubernetes
|
|
149
|
+
* objects.
|
|
150
|
+
*/
|
|
151
|
+
readonly extraLabels: pulumi.Output<{
|
|
152
|
+
[key: string]: string;
|
|
153
|
+
} | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* The Role or ClusterRole rules to use when generating
|
|
156
|
+
* a role. Accepts either JSON or YAML formatted rules. Mutually exclusive with `serviceAccountName`
|
|
157
|
+
* and `kubernetesRoleName`. If set, the entire chain of Kubernetes objects will be generated
|
|
158
|
+
* when credentials are requested.
|
|
159
|
+
*/
|
|
160
|
+
readonly generatedRoleRules: pulumi.Output<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* The pre-existing Role or ClusterRole to bind a
|
|
163
|
+
* generated service account to. Mutually exclusive with `serviceAccountName` and
|
|
164
|
+
* `generatedRoleRules`. If set, Kubernetes token, service account, and role
|
|
165
|
+
* binding objects will be created when credentials are requested.
|
|
166
|
+
*/
|
|
167
|
+
readonly kubernetesRoleName: pulumi.Output<string | undefined>;
|
|
168
|
+
/**
|
|
169
|
+
* Specifies whether the Kubernetes role is a Role or
|
|
170
|
+
* ClusterRole.
|
|
171
|
+
*/
|
|
172
|
+
readonly kubernetesRoleType: pulumi.Output<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* The name of the role.
|
|
175
|
+
*/
|
|
176
|
+
readonly name: pulumi.Output<string>;
|
|
177
|
+
/**
|
|
178
|
+
* The name template to use when generating service accounts,
|
|
179
|
+
* roles and role bindings. If unset, a default template is used.
|
|
180
|
+
*/
|
|
181
|
+
readonly nameTemplate: pulumi.Output<string | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* The namespace to provision the resource in.
|
|
184
|
+
* The value should not contain leading or trailing forward slashes.
|
|
185
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
186
|
+
* *Available only for Vault Enterprise*.
|
|
187
|
+
*/
|
|
188
|
+
readonly namespace: pulumi.Output<string | undefined>;
|
|
189
|
+
/**
|
|
190
|
+
* The pre-existing service account to generate tokens for.
|
|
191
|
+
* Mutually exclusive with `kubernetesRoleName` and `generatedRoleRules`. If set, only a
|
|
192
|
+
* Kubernetes token will be created when credentials are requested.
|
|
193
|
+
*/
|
|
194
|
+
readonly serviceAccountName: pulumi.Output<string | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* The default TTL for generated Kubernetes tokens in seconds.
|
|
197
|
+
*/
|
|
198
|
+
readonly tokenDefaultTtl: pulumi.Output<number | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* The maximum TTL for generated Kubernetes tokens in seconds.
|
|
201
|
+
*/
|
|
202
|
+
readonly tokenMaxTtl: pulumi.Output<number | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* Create a SecretBackendRole resource with the given unique name, arguments, and options.
|
|
205
|
+
*
|
|
206
|
+
* @param name The _unique_ name of the resource.
|
|
207
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
208
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
209
|
+
*/
|
|
210
|
+
constructor(name: string, args: SecretBackendRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Input properties used for looking up and filtering SecretBackendRole resources.
|
|
214
|
+
*/
|
|
215
|
+
export interface SecretBackendRoleState {
|
|
216
|
+
/**
|
|
217
|
+
* The list of Kubernetes namespaces this role
|
|
218
|
+
* can generate credentials for. If set to `*` all namespaces are allowed.
|
|
219
|
+
*/
|
|
220
|
+
allowedKubernetesNamespaces?: pulumi.Input<pulumi.Input<string>[]>;
|
|
221
|
+
/**
|
|
222
|
+
* The path of the Kubernetes Secrets Engine backend mount to create
|
|
223
|
+
* the role in.
|
|
224
|
+
*/
|
|
225
|
+
backend?: pulumi.Input<string>;
|
|
226
|
+
/**
|
|
227
|
+
* Additional annotations to apply to all generated
|
|
228
|
+
* Kubernetes objects.
|
|
229
|
+
*/
|
|
230
|
+
extraAnnotations?: pulumi.Input<{
|
|
231
|
+
[key: string]: pulumi.Input<string>;
|
|
232
|
+
}>;
|
|
233
|
+
/**
|
|
234
|
+
* Additional labels to apply to all generated Kubernetes
|
|
235
|
+
* objects.
|
|
236
|
+
*/
|
|
237
|
+
extraLabels?: pulumi.Input<{
|
|
238
|
+
[key: string]: pulumi.Input<string>;
|
|
239
|
+
}>;
|
|
240
|
+
/**
|
|
241
|
+
* The Role or ClusterRole rules to use when generating
|
|
242
|
+
* a role. Accepts either JSON or YAML formatted rules. Mutually exclusive with `serviceAccountName`
|
|
243
|
+
* and `kubernetesRoleName`. If set, the entire chain of Kubernetes objects will be generated
|
|
244
|
+
* when credentials are requested.
|
|
245
|
+
*/
|
|
246
|
+
generatedRoleRules?: pulumi.Input<string>;
|
|
247
|
+
/**
|
|
248
|
+
* The pre-existing Role or ClusterRole to bind a
|
|
249
|
+
* generated service account to. Mutually exclusive with `serviceAccountName` and
|
|
250
|
+
* `generatedRoleRules`. If set, Kubernetes token, service account, and role
|
|
251
|
+
* binding objects will be created when credentials are requested.
|
|
252
|
+
*/
|
|
253
|
+
kubernetesRoleName?: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* Specifies whether the Kubernetes role is a Role or
|
|
256
|
+
* ClusterRole.
|
|
257
|
+
*/
|
|
258
|
+
kubernetesRoleType?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* The name of the role.
|
|
261
|
+
*/
|
|
262
|
+
name?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* The name template to use when generating service accounts,
|
|
265
|
+
* roles and role bindings. If unset, a default template is used.
|
|
266
|
+
*/
|
|
267
|
+
nameTemplate?: pulumi.Input<string>;
|
|
268
|
+
/**
|
|
269
|
+
* The namespace to provision the resource in.
|
|
270
|
+
* The value should not contain leading or trailing forward slashes.
|
|
271
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
272
|
+
* *Available only for Vault Enterprise*.
|
|
273
|
+
*/
|
|
274
|
+
namespace?: pulumi.Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* The pre-existing service account to generate tokens for.
|
|
277
|
+
* Mutually exclusive with `kubernetesRoleName` and `generatedRoleRules`. If set, only a
|
|
278
|
+
* Kubernetes token will be created when credentials are requested.
|
|
279
|
+
*/
|
|
280
|
+
serviceAccountName?: pulumi.Input<string>;
|
|
281
|
+
/**
|
|
282
|
+
* The default TTL for generated Kubernetes tokens in seconds.
|
|
283
|
+
*/
|
|
284
|
+
tokenDefaultTtl?: pulumi.Input<number>;
|
|
285
|
+
/**
|
|
286
|
+
* The maximum TTL for generated Kubernetes tokens in seconds.
|
|
287
|
+
*/
|
|
288
|
+
tokenMaxTtl?: pulumi.Input<number>;
|
|
289
|
+
}
|
|
290
|
+
/**
|
|
291
|
+
* The set of arguments for constructing a SecretBackendRole resource.
|
|
292
|
+
*/
|
|
293
|
+
export interface SecretBackendRoleArgs {
|
|
294
|
+
/**
|
|
295
|
+
* The list of Kubernetes namespaces this role
|
|
296
|
+
* can generate credentials for. If set to `*` all namespaces are allowed.
|
|
297
|
+
*/
|
|
298
|
+
allowedKubernetesNamespaces: pulumi.Input<pulumi.Input<string>[]>;
|
|
299
|
+
/**
|
|
300
|
+
* The path of the Kubernetes Secrets Engine backend mount to create
|
|
301
|
+
* the role in.
|
|
302
|
+
*/
|
|
303
|
+
backend: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* Additional annotations to apply to all generated
|
|
306
|
+
* Kubernetes objects.
|
|
307
|
+
*/
|
|
308
|
+
extraAnnotations?: pulumi.Input<{
|
|
309
|
+
[key: string]: pulumi.Input<string>;
|
|
310
|
+
}>;
|
|
311
|
+
/**
|
|
312
|
+
* Additional labels to apply to all generated Kubernetes
|
|
313
|
+
* objects.
|
|
314
|
+
*/
|
|
315
|
+
extraLabels?: pulumi.Input<{
|
|
316
|
+
[key: string]: pulumi.Input<string>;
|
|
317
|
+
}>;
|
|
318
|
+
/**
|
|
319
|
+
* The Role or ClusterRole rules to use when generating
|
|
320
|
+
* a role. Accepts either JSON or YAML formatted rules. Mutually exclusive with `serviceAccountName`
|
|
321
|
+
* and `kubernetesRoleName`. If set, the entire chain of Kubernetes objects will be generated
|
|
322
|
+
* when credentials are requested.
|
|
323
|
+
*/
|
|
324
|
+
generatedRoleRules?: pulumi.Input<string>;
|
|
325
|
+
/**
|
|
326
|
+
* The pre-existing Role or ClusterRole to bind a
|
|
327
|
+
* generated service account to. Mutually exclusive with `serviceAccountName` and
|
|
328
|
+
* `generatedRoleRules`. If set, Kubernetes token, service account, and role
|
|
329
|
+
* binding objects will be created when credentials are requested.
|
|
330
|
+
*/
|
|
331
|
+
kubernetesRoleName?: pulumi.Input<string>;
|
|
332
|
+
/**
|
|
333
|
+
* Specifies whether the Kubernetes role is a Role or
|
|
334
|
+
* ClusterRole.
|
|
335
|
+
*/
|
|
336
|
+
kubernetesRoleType?: pulumi.Input<string>;
|
|
337
|
+
/**
|
|
338
|
+
* The name of the role.
|
|
339
|
+
*/
|
|
340
|
+
name?: pulumi.Input<string>;
|
|
341
|
+
/**
|
|
342
|
+
* The name template to use when generating service accounts,
|
|
343
|
+
* roles and role bindings. If unset, a default template is used.
|
|
344
|
+
*/
|
|
345
|
+
nameTemplate?: pulumi.Input<string>;
|
|
346
|
+
/**
|
|
347
|
+
* The namespace to provision the resource in.
|
|
348
|
+
* The value should not contain leading or trailing forward slashes.
|
|
349
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
350
|
+
* *Available only for Vault Enterprise*.
|
|
351
|
+
*/
|
|
352
|
+
namespace?: pulumi.Input<string>;
|
|
353
|
+
/**
|
|
354
|
+
* The pre-existing service account to generate tokens for.
|
|
355
|
+
* Mutually exclusive with `kubernetesRoleName` and `generatedRoleRules`. If set, only a
|
|
356
|
+
* Kubernetes token will be created when credentials are requested.
|
|
357
|
+
*/
|
|
358
|
+
serviceAccountName?: pulumi.Input<string>;
|
|
359
|
+
/**
|
|
360
|
+
* The default TTL for generated Kubernetes tokens in seconds.
|
|
361
|
+
*/
|
|
362
|
+
tokenDefaultTtl?: pulumi.Input<number>;
|
|
363
|
+
/**
|
|
364
|
+
* The maximum TTL for generated Kubernetes tokens in seconds.
|
|
365
|
+
*/
|
|
366
|
+
tokenMaxTtl?: pulumi.Input<number>;
|
|
367
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
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.SecretBackendRole = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* Example using `serviceAccountName` mode:
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fs from "fs";
|
|
16
|
+
* import * as vault from "@pulumi/vault";
|
|
17
|
+
*
|
|
18
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
19
|
+
* path: "kubernetes",
|
|
20
|
+
* description: "kubernetes secrets engine description",
|
|
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
|
+
* const sa_example = new vault.kubernetes.SecretBackendRole("sa-example", {
|
|
27
|
+
* backend: config.path,
|
|
28
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
29
|
+
* tokenMaxTtl: 43200,
|
|
30
|
+
* tokenDefaultTtl: 21600,
|
|
31
|
+
* serviceAccountName: "test-service-account-with-generated-token",
|
|
32
|
+
* extraLabels: {
|
|
33
|
+
* id: "abc123",
|
|
34
|
+
* name: "some_name",
|
|
35
|
+
* },
|
|
36
|
+
* extraAnnotations: {
|
|
37
|
+
* env: "development",
|
|
38
|
+
* location: "earth",
|
|
39
|
+
* },
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* Example using `kubernetesRoleName` mode:
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as fs from "fs";
|
|
48
|
+
* import * as vault from "@pulumi/vault";
|
|
49
|
+
*
|
|
50
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
51
|
+
* path: "kubernetes",
|
|
52
|
+
* description: "kubernetes secrets engine description",
|
|
53
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
54
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
55
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
56
|
+
* disableLocalCaJwt: false,
|
|
57
|
+
* });
|
|
58
|
+
* const name_example = new vault.kubernetes.SecretBackendRole("name-example", {
|
|
59
|
+
* backend: config.path,
|
|
60
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
61
|
+
* tokenMaxTtl: 43200,
|
|
62
|
+
* tokenDefaultTtl: 21600,
|
|
63
|
+
* kubernetesRoleName: "vault-k8s-secrets-role",
|
|
64
|
+
* extraLabels: {
|
|
65
|
+
* id: "abc123",
|
|
66
|
+
* name: "some_name",
|
|
67
|
+
* },
|
|
68
|
+
* extraAnnotations: {
|
|
69
|
+
* env: "development",
|
|
70
|
+
* location: "earth",
|
|
71
|
+
* },
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* Example using `generatedRoleRules` mode:
|
|
76
|
+
*
|
|
77
|
+
* ```typescript
|
|
78
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
79
|
+
* import * as fs from "fs";
|
|
80
|
+
* import * as vault from "@pulumi/vault";
|
|
81
|
+
*
|
|
82
|
+
* const config = new vault.kubernetes.SecretBackend("config", {
|
|
83
|
+
* path: "kubernetes",
|
|
84
|
+
* description: "kubernetes secrets engine description",
|
|
85
|
+
* kubernetesHost: "https://127.0.0.1:61233",
|
|
86
|
+
* kubernetesCaCert: fs.readFileSync("/path/to/cert"),
|
|
87
|
+
* serviceAccountJwt: fs.readFileSync("/path/to/token"),
|
|
88
|
+
* disableLocalCaJwt: false,
|
|
89
|
+
* });
|
|
90
|
+
* const rules_example = new vault.kubernetes.SecretBackendRole("rules-example", {
|
|
91
|
+
* backend: config.path,
|
|
92
|
+
* allowedKubernetesNamespaces: ["*"],
|
|
93
|
+
* tokenMaxTtl: 43200,
|
|
94
|
+
* tokenDefaultTtl: 21600,
|
|
95
|
+
* kubernetesRoleType: "Role",
|
|
96
|
+
* generatedRoleRules: `rules:
|
|
97
|
+
* - apiGroups: [""]
|
|
98
|
+
* resources: ["pods"]
|
|
99
|
+
* verbs: ["list"]
|
|
100
|
+
* `,
|
|
101
|
+
* extraLabels: {
|
|
102
|
+
* id: "abc123",
|
|
103
|
+
* name: "some_name",
|
|
104
|
+
* },
|
|
105
|
+
* extraAnnotations: {
|
|
106
|
+
* env: "development",
|
|
107
|
+
* location: "earth",
|
|
108
|
+
* },
|
|
109
|
+
* });
|
|
110
|
+
* ```
|
|
111
|
+
*
|
|
112
|
+
* ## Import
|
|
113
|
+
*
|
|
114
|
+
* The Kubernetes secret backend role can be imported using the full path to the role of the form`<backend_path>/roles/<role_name>` e.g.
|
|
115
|
+
*
|
|
116
|
+
* ```sh
|
|
117
|
+
* $ pulumi import vault:kubernetes/secretBackendRole:SecretBackendRole example kubernetes kubernetes/roles/example-role
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
class SecretBackendRole extends pulumi.CustomResource {
|
|
121
|
+
constructor(name, argsOrState, opts) {
|
|
122
|
+
let resourceInputs = {};
|
|
123
|
+
opts = opts || {};
|
|
124
|
+
if (opts.id) {
|
|
125
|
+
const state = argsOrState;
|
|
126
|
+
resourceInputs["allowedKubernetesNamespaces"] = state ? state.allowedKubernetesNamespaces : undefined;
|
|
127
|
+
resourceInputs["backend"] = state ? state.backend : undefined;
|
|
128
|
+
resourceInputs["extraAnnotations"] = state ? state.extraAnnotations : undefined;
|
|
129
|
+
resourceInputs["extraLabels"] = state ? state.extraLabels : undefined;
|
|
130
|
+
resourceInputs["generatedRoleRules"] = state ? state.generatedRoleRules : undefined;
|
|
131
|
+
resourceInputs["kubernetesRoleName"] = state ? state.kubernetesRoleName : undefined;
|
|
132
|
+
resourceInputs["kubernetesRoleType"] = state ? state.kubernetesRoleType : undefined;
|
|
133
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
134
|
+
resourceInputs["nameTemplate"] = state ? state.nameTemplate : undefined;
|
|
135
|
+
resourceInputs["namespace"] = state ? state.namespace : undefined;
|
|
136
|
+
resourceInputs["serviceAccountName"] = state ? state.serviceAccountName : undefined;
|
|
137
|
+
resourceInputs["tokenDefaultTtl"] = state ? state.tokenDefaultTtl : undefined;
|
|
138
|
+
resourceInputs["tokenMaxTtl"] = state ? state.tokenMaxTtl : undefined;
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
const args = argsOrState;
|
|
142
|
+
if ((!args || args.allowedKubernetesNamespaces === undefined) && !opts.urn) {
|
|
143
|
+
throw new Error("Missing required property 'allowedKubernetesNamespaces'");
|
|
144
|
+
}
|
|
145
|
+
if ((!args || args.backend === undefined) && !opts.urn) {
|
|
146
|
+
throw new Error("Missing required property 'backend'");
|
|
147
|
+
}
|
|
148
|
+
resourceInputs["allowedKubernetesNamespaces"] = args ? args.allowedKubernetesNamespaces : undefined;
|
|
149
|
+
resourceInputs["backend"] = args ? args.backend : undefined;
|
|
150
|
+
resourceInputs["extraAnnotations"] = args ? args.extraAnnotations : undefined;
|
|
151
|
+
resourceInputs["extraLabels"] = args ? args.extraLabels : undefined;
|
|
152
|
+
resourceInputs["generatedRoleRules"] = args ? args.generatedRoleRules : undefined;
|
|
153
|
+
resourceInputs["kubernetesRoleName"] = args ? args.kubernetesRoleName : undefined;
|
|
154
|
+
resourceInputs["kubernetesRoleType"] = args ? args.kubernetesRoleType : undefined;
|
|
155
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
156
|
+
resourceInputs["nameTemplate"] = args ? args.nameTemplate : undefined;
|
|
157
|
+
resourceInputs["namespace"] = args ? args.namespace : undefined;
|
|
158
|
+
resourceInputs["serviceAccountName"] = args ? args.serviceAccountName : undefined;
|
|
159
|
+
resourceInputs["tokenDefaultTtl"] = args ? args.tokenDefaultTtl : undefined;
|
|
160
|
+
resourceInputs["tokenMaxTtl"] = args ? args.tokenMaxTtl : undefined;
|
|
161
|
+
}
|
|
162
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
163
|
+
super(SecretBackendRole.__pulumiType, name, resourceInputs, opts);
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Get an existing SecretBackendRole resource's state with the given name, ID, and optional extra
|
|
167
|
+
* properties used to qualify the lookup.
|
|
168
|
+
*
|
|
169
|
+
* @param name The _unique_ name of the resulting resource.
|
|
170
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
171
|
+
* @param state Any extra arguments used during the lookup.
|
|
172
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
173
|
+
*/
|
|
174
|
+
static get(name, id, state, opts) {
|
|
175
|
+
return new SecretBackendRole(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Returns true if the given object is an instance of SecretBackendRole. This is designed to work even
|
|
179
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
180
|
+
*/
|
|
181
|
+
static isInstance(obj) {
|
|
182
|
+
if (obj === undefined || obj === null) {
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
185
|
+
return obj['__pulumiType'] === SecretBackendRole.__pulumiType;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
exports.SecretBackendRole = SecretBackendRole;
|
|
189
|
+
/** @internal */
|
|
190
|
+
SecretBackendRole.__pulumiType = 'vault:kubernetes/secretBackendRole:SecretBackendRole';
|
|
191
|
+
//# sourceMappingURL=secretBackendRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secretBackendRole.js","sourceRoot":"","sources":["../../kubernetes/secretBackendRole.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Example Usage
|
|
4
|
+
*
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
7
|
+
* import * as vault from "@pulumi/vault";
|
|
8
|
+
*
|
|
9
|
+
* const kvv1 = new vault.Mount("kvv1", {
|
|
10
|
+
* path: "kvv1",
|
|
11
|
+
* type: "kv",
|
|
12
|
+
* options: {
|
|
13
|
+
* version: "1",
|
|
14
|
+
* },
|
|
15
|
+
* description: "KV Version 1 secret engine mount",
|
|
16
|
+
* });
|
|
17
|
+
* const secret = new vault.kv.Secret("secret", {
|
|
18
|
+
* path: pulumi.interpolate`${kvv1.path}/secret`,
|
|
19
|
+
* dataJson: JSON.stringify({
|
|
20
|
+
* zip: "zap",
|
|
21
|
+
* foo: "bar",
|
|
22
|
+
* }),
|
|
23
|
+
* });
|
|
24
|
+
* const secretData = vault.kv.getSecretOutput({
|
|
25
|
+
* path: secret.path,
|
|
26
|
+
* });
|
|
27
|
+
* ```
|
|
28
|
+
* ## Required Vault Capabilities
|
|
29
|
+
*
|
|
30
|
+
* Use of this resource requires the `read` capability on the given path.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getSecret(args: GetSecretArgs, opts?: pulumi.InvokeOptions): Promise<GetSecretResult>;
|
|
33
|
+
/**
|
|
34
|
+
* A collection of arguments for invoking getSecret.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetSecretArgs {
|
|
37
|
+
/**
|
|
38
|
+
* The namespace of the target resource.
|
|
39
|
+
* The value should not contain leading or trailing forward slashes.
|
|
40
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
41
|
+
* *Available only for Vault Enterprise*.
|
|
42
|
+
*/
|
|
43
|
+
namespace?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Full path of the KV-V1 secret.
|
|
46
|
+
*/
|
|
47
|
+
path: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A collection of values returned by getSecret.
|
|
51
|
+
*/
|
|
52
|
+
export interface GetSecretResult {
|
|
53
|
+
/**
|
|
54
|
+
* A mapping whose keys are the top-level data keys returned from
|
|
55
|
+
* Vault and whose values are the corresponding values. This map can only
|
|
56
|
+
* represent string data, so any non-string values returned from Vault are
|
|
57
|
+
* serialized as JSON.
|
|
58
|
+
*/
|
|
59
|
+
readonly data: {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* JSON-encoded string that that is
|
|
64
|
+
* read as the secret data at the given path.
|
|
65
|
+
*/
|
|
66
|
+
readonly dataJson: string;
|
|
67
|
+
/**
|
|
68
|
+
* The provider-assigned unique ID for this managed resource.
|
|
69
|
+
*/
|
|
70
|
+
readonly id: string;
|
|
71
|
+
/**
|
|
72
|
+
* The duration of the secret lease, in seconds. Once
|
|
73
|
+
* this time has passed any plan generated with this data may fail to apply.
|
|
74
|
+
*/
|
|
75
|
+
readonly leaseDuration: number;
|
|
76
|
+
/**
|
|
77
|
+
* The lease identifier assigned by Vault, if any.
|
|
78
|
+
*/
|
|
79
|
+
readonly leaseId: string;
|
|
80
|
+
/**
|
|
81
|
+
* True if the duration of this lease can be extended
|
|
82
|
+
* through renewal.
|
|
83
|
+
*/
|
|
84
|
+
readonly leaseRenewable: boolean;
|
|
85
|
+
readonly namespace?: string;
|
|
86
|
+
readonly path: string;
|
|
87
|
+
}
|
|
88
|
+
export declare function getSecretOutput(args: GetSecretOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecretResult>;
|
|
89
|
+
/**
|
|
90
|
+
* A collection of arguments for invoking getSecret.
|
|
91
|
+
*/
|
|
92
|
+
export interface GetSecretOutputArgs {
|
|
93
|
+
/**
|
|
94
|
+
* The namespace of the target resource.
|
|
95
|
+
* The value should not contain leading or trailing forward slashes.
|
|
96
|
+
* The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace).
|
|
97
|
+
* *Available only for Vault Enterprise*.
|
|
98
|
+
*/
|
|
99
|
+
namespace?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Full path of the KV-V1 secret.
|
|
102
|
+
*/
|
|
103
|
+
path: pulumi.Input<string>;
|
|
104
|
+
}
|