Documentation ¶
Index ¶
- func AccessRegionalSecretVersion(w io.Writer, projectId, locationId, secretId, versionId string) error
- func AddRegionalSecretVersion(w io.Writer, projectId, locationId, secretId string) error
- func CreateRegionalSecret(w io.Writer, projectId, locationId, id string) error
- func DeleteRegionalSecret(projectId, locationId, secretId string) error
- func DeleteRegionalSecretWithEtag(projectId, locationId, secretId, etag string) error
- func DestroyRegionalSecretVersion(projectId, locationId, secretId, versionId string) error
- func DestroyRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
- func DisableRegionalSecretVersion(projectId, locationId, secretId, versionId string) error
- func DisableRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
- func EnableRegionalSecretVersion(projectId, locationId, secretId, versionId string) error
- func EnableRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
- func GetRegionalSecret(w io.Writer, projectId, locationId, secretId string) error
- func GetRegionalSecretVersion(w io.Writer, projectId, locationId, secretId, versionId string) error
- func IamGrantAccessWithRegionalSecret(w io.Writer, projectId, locationId, secretId, member string) error
- func IamRevokeAccessWithRegionalSecret(w io.Writer, projectId, locationId, secretId, member string) error
- func ListRegionalSecretVersions(w io.Writer, projectId, locationId, secretId string) error
- func ListRegionalSecretVersionsWithFilter(w io.Writer, projectId, locationId, secretId string, filter string) error
- func ListRegionalSecrets(w io.Writer, projectId, locationId string) error
- func ListRegionalSecretsWithFilter(w io.Writer, projectId, locationId string, filter string) error
- func UpdateRegionalSecret(w io.Writer, projectId, locationId, secretId string) error
- func UpdateRegionalSecretWithAlias(w io.Writer, projectId, locationId, secretId string) error
- func UpdateRegionalSecretWithEtag(w io.Writer, projectId, locationId, secretId, etag string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessRegionalSecretVersion ¶
func AccessRegionalSecretVersion(w io.Writer, projectId, locationId, secretId, versionId string) error
accessSecretVersion accesses the payload for the given secret version if one exists. The version can be a version number as a string (e.g. "5") or an alias (e.g. "latest").
func AddRegionalSecretVersion ¶
addSecretVersion adds a new secret version to the given secret with the provided payload.
func CreateRegionalSecret ¶
createSecret creates a new secret with the given name. A secret is a logical wrapper around a collection of secret versions. Secret versions hold the actual secret material.
func DeleteRegionalSecret ¶
deleteSecret deletes the secret with the given name and all of its versions.
func DeleteRegionalSecretWithEtag ¶
deleteSecretWithEtag deletes the secret with the given name and all of its versions.
func DestroyRegionalSecretVersion ¶
destroySecretVersion destroys the given secret version, making the payload irrecoverable. Other secrets versions are unaffected.
func DestroyRegionalSecretVersionWithEtag ¶
func DestroyRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
destroySecretVersionWithEtag destroys the given secret version, making the payload irrecoverable. Other secrets versions are unaffected.
func DisableRegionalSecretVersion ¶
disableSecretVersion disables the given secret version. Future requests will throw an error until the secret version is enabled. Other secrets versions are unaffected.
func DisableRegionalSecretVersionWithEtag ¶
func DisableRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
disableSecretVersionWithEtag disables the given secret version. Future requests will throw an error until the secret version is enabled. Other secrets versions are unaffected.
func EnableRegionalSecretVersion ¶
enableSecretVersion enables the given secret version, enabling it to be accessed after previously being disabled. Other secrets versions are unaffected.
func EnableRegionalSecretVersionWithEtag ¶
func EnableRegionalSecretVersionWithEtag(projectId, locationId, secretId, versionId, etag string) error
enableSecretVersionWithEtag enables the given secret version, enabling it to be accessed after previously being disabled. Other secrets versions are unaffected.
func GetRegionalSecret ¶
getSecret gets information about the given secret. This only returns metadata about the secret container, not any secret material.
func GetRegionalSecretVersion ¶
getSecretVersion gets information about the given secret version. It does not include the payload data.
func IamGrantAccessWithRegionalSecret ¶
func IamGrantAccessWithRegionalSecret(w io.Writer, projectId, locationId, secretId, member string) error
iamGrantAccess grants the given member access to the secret.
func IamRevokeAccessWithRegionalSecret ¶
func IamRevokeAccessWithRegionalSecret(w io.Writer, projectId, locationId, secretId, member string) error
iamRevokeAccess revokes the given member's access on the secret.
func ListRegionalSecretVersions ¶
listSecretVersions lists all secret versions in the given secret and their metadata.
func ListRegionalSecretVersionsWithFilter ¶
func ListRegionalSecretVersionsWithFilter(w io.Writer, projectId, locationId, secretId string, filter string) error
listSecretVersionsWithFilter lists all filter-matching secret versions in the given secret and their metadata.
func ListRegionalSecrets ¶
listSecrets lists all secrets in the given project.
func ListRegionalSecretsWithFilter ¶
listSecretsWithFilter lists all filter-matching secrets in the given project.
func UpdateRegionalSecret ¶
updateSecret updates the metadata about an existing secret.
func UpdateRegionalSecretWithAlias ¶
updateSecret updates the alias map on an existing secret.
Types ¶
This section is empty.
Source Files ¶
- access_regional_secret_version.go
- add_regional_secret_version.go
- create_regional_secret.go
- create_regional_secret_with_annotations.go
- create_regional_secret_with_labels.go
- delete_regional_secret.go
- delete_regional_secret_label.go
- delete_regional_secret_with_etag.go
- destroy_regional_secret_version.go
- destroy_regional_secret_version_with_etag.go
- disable_regional_secret_version.go
- disable_regional_secret_version_with_etag.go
- edit_regional_secret_annotations.go
- edit_regional_secret_label.go
- enable_regional_secret_version.go
- enable_regional_secret_version_with_etag.go
- get_regional_secret.go
- get_regional_secret_version.go
- iam_grant_access_with_regional_secret.go
- iam_revoke_access_with_regional_secret.go
- list_regional_secret_versions.go
- list_regional_secret_versions_with_filter.go
- list_regional_secrets.go
- list_regional_secrets_with_filter.go
- update_regional_secret.go
- update_regional_secret_with_alias.go
- update_regional_secret_with_etag.go
- view_regional_secret_annotations.go
- view_regional_secret_labels.go