Read configuration values.
Get-ROConfig [-Key <String>]Reads one or all configuration values from the RobOtters Config table. When called with -Key it returns the value for that single key as a string. Without -Key it returns all nine configuration entries as objects.
The nine configuration keys are: SecretServerUrl, DefaultDomain, MinActionsPerCycle, MaxActionsPerCycle, LogRetentionDays, PasswordRotationDays, AuthFailureAction, LauncherTemplateId, and AccessSnapshotMaxAgeDays.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Key | String | No | -- | The specific configuration key to retrieve |
Get-ROConfigReturns all nine configuration entries with their keys and values.
Get-ROConfig -Key 'SecretServerUrl'Returns the Secret Server base URL as a string.
| Property | Type | Description |
|---|---|---|
| Key | String | Configuration key name (when returning all) |
| Value | String | Configuration value (when returning all) |
| (value) | String | Plain string value (when using -Key) |