Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CloudProvider ¶
CloudProvider type
type Config ¶
type Config struct { IncludeAwsUserKeys bool IncludeInactiveKeys bool Datadog Datadog DatadogAPIKey string RotationMode bool CloudProviders []CloudProvider AccountFilter Filter AccountKeyLocations []KeyLocations Credentials cred.Credentials DefaultRotationAgeThresholdMins int EnableKeyAgeLogging bool }
Config type
func GetConfigFromAWSSecretManager ¶
GetConfigFromAWSSecretManager grabs the cloud-key-rotator's config from AWS Secret Manager
func GetConfigFromGCS ¶
GetConfigFromGCS grabs the cloud-key-rotator's config from GCS
type Datadog ¶
type Datadog struct { MetricEnv string MetricTeam string MetricName string MetricProject string MetricService string }
Datadog type
type KeyLocations ¶
type KeyLocations struct { RotationAgeThresholdMins int ServiceAccountName string Atlas []location.Atlas CircleCI []location.CircleCI CircleCIContext []location.CircleCIContext DatadogGCPIntegration []location.Datadog GCS []location.Gcs Git location.Git GitHub []location.GitHub Gocd []location.Gocd K8s []location.K8s SSM []location.Ssm SecretsManager []location.SecretsManager }
KeyLocations type
type ProviderServiceAccounts ¶
type ProviderServiceAccounts struct { Provider CloudProvider ProviderAccounts []string }
ProviderServiceAccounts type
Click to show internal directories.
Click to hide internal directories.