Reference documentation and code samples for the Google Cloud Container V1 Client class SecretSyncConfig.
Configuration for sync Secret Manager secrets as k8s secrets.
Generated from protobuf message google.container.v1.SecretSyncConfig
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ enabled |
bool
Enable/Disable Secret Sync Config. |
↳ rotation_config |
SecretSyncConfig\SyncRotationConfig
Rotation config for secret manager. |
getEnabled
Enable/Disable Secret Sync Config.
| Returns | |
|---|---|
| Type | Description |
bool |
|
hasEnabled
clearEnabled
setEnabled
Enable/Disable Secret Sync Config.
| Parameter | |
|---|---|
| Name | Description |
var |
bool
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRotationConfig
Rotation config for secret manager.
| Returns | |
|---|---|
| Type | Description |
SecretSyncConfig\SyncRotationConfig|null |
|
hasRotationConfig
clearRotationConfig
setRotationConfig
Rotation config for secret manager.
| Parameter | |
|---|---|
| Name | Description |
var |
SecretSyncConfig\SyncRotationConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|