├── .gitignore ├── CHANGELOG ├── LICENSE ├── Makefile ├── README.md ├── briefcase ├── aws_sts.go ├── aws_sts_test.go ├── briefcase.go ├── briefcase_test.go ├── json_secrets.go ├── secrets_cache.go ├── ssh.go ├── ssh_test.go └── template.go ├── config ├── config.go ├── config_test.go └── templates.go ├── docs ├── BUILDING.md ├── CONFIGURATION.md ├── EC2.md ├── KUBERNETES.md └── examples │ ├── absolute-ping.yml │ ├── cleanup.txt │ ├── force-refreshing-credentials.md │ ├── refreshing-leases.txt │ ├── relative-ping.yml │ ├── simple.yml │ └── template-ping │ ├── example.tpl │ └── relative-example.tpl ├── e2e ├── e2e_fixtures.go └── e2e_test.go ├── go.mod ├── go.sum ├── main.go ├── metrics └── metrics.go ├── perform.go ├── secrets ├── json_secrets.go ├── sts.go ├── template.go └── token.go ├── syncer ├── compare.go └── sync.go ├── util ├── clock │ └── clock.go ├── constants.go ├── flags.go ├── locking.go ├── modes.go ├── modes_test.go ├── paths.go ├── touch.go └── wrapped_token.go ├── vaultclient ├── auth.go ├── auth_aws_ami.go ├── auth_aws_iam.go ├── auth_kubernetes.go ├── creds_aws_sts.go ├── creds_sshcert.go ├── mocks │ └── vaultclient.go └── vaultclient.go └── vaulttoken ├── vault_token.go └── vault_token_test.go /.gitignore: -------------------------------------------------------------------------------- 1 | bin/ 2 | tmp/ 3 | .idea 4 | target/ 5 | vault-ctrl-tool 6 | -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/CHANGELOG -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/README.md -------------------------------------------------------------------------------- /briefcase/aws_sts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/aws_sts.go -------------------------------------------------------------------------------- /briefcase/aws_sts_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/aws_sts_test.go -------------------------------------------------------------------------------- /briefcase/briefcase.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/briefcase.go -------------------------------------------------------------------------------- /briefcase/briefcase_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/briefcase_test.go -------------------------------------------------------------------------------- /briefcase/json_secrets.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/json_secrets.go -------------------------------------------------------------------------------- /briefcase/secrets_cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/secrets_cache.go -------------------------------------------------------------------------------- /briefcase/ssh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/ssh.go -------------------------------------------------------------------------------- /briefcase/ssh_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/ssh_test.go -------------------------------------------------------------------------------- /briefcase/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/briefcase/template.go -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/config/config.go -------------------------------------------------------------------------------- /config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/config/config_test.go -------------------------------------------------------------------------------- /config/templates.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/config/templates.go -------------------------------------------------------------------------------- /docs/BUILDING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/BUILDING.md -------------------------------------------------------------------------------- /docs/CONFIGURATION.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/CONFIGURATION.md -------------------------------------------------------------------------------- /docs/EC2.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/EC2.md -------------------------------------------------------------------------------- /docs/KUBERNETES.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/KUBERNETES.md -------------------------------------------------------------------------------- /docs/examples/absolute-ping.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/absolute-ping.yml -------------------------------------------------------------------------------- /docs/examples/cleanup.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/cleanup.txt -------------------------------------------------------------------------------- /docs/examples/force-refreshing-credentials.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/force-refreshing-credentials.md -------------------------------------------------------------------------------- /docs/examples/refreshing-leases.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/refreshing-leases.txt -------------------------------------------------------------------------------- /docs/examples/relative-ping.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/relative-ping.yml -------------------------------------------------------------------------------- /docs/examples/simple.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/simple.yml -------------------------------------------------------------------------------- /docs/examples/template-ping/example.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/template-ping/example.tpl -------------------------------------------------------------------------------- /docs/examples/template-ping/relative-example.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/docs/examples/template-ping/relative-example.tpl -------------------------------------------------------------------------------- /e2e/e2e_fixtures.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/e2e/e2e_fixtures.go -------------------------------------------------------------------------------- /e2e/e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/e2e/e2e_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/main.go -------------------------------------------------------------------------------- /metrics/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/metrics/metrics.go -------------------------------------------------------------------------------- /perform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/perform.go -------------------------------------------------------------------------------- /secrets/json_secrets.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/secrets/json_secrets.go -------------------------------------------------------------------------------- /secrets/sts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/secrets/sts.go -------------------------------------------------------------------------------- /secrets/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/secrets/template.go -------------------------------------------------------------------------------- /secrets/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/secrets/token.go -------------------------------------------------------------------------------- /syncer/compare.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/syncer/compare.go -------------------------------------------------------------------------------- /syncer/sync.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/syncer/sync.go -------------------------------------------------------------------------------- /util/clock/clock.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/clock/clock.go -------------------------------------------------------------------------------- /util/constants.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/constants.go -------------------------------------------------------------------------------- /util/flags.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/flags.go -------------------------------------------------------------------------------- /util/locking.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/locking.go -------------------------------------------------------------------------------- /util/modes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/modes.go -------------------------------------------------------------------------------- /util/modes_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/modes_test.go -------------------------------------------------------------------------------- /util/paths.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/paths.go -------------------------------------------------------------------------------- /util/touch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/touch.go -------------------------------------------------------------------------------- /util/wrapped_token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/util/wrapped_token.go -------------------------------------------------------------------------------- /vaultclient/auth.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/auth.go -------------------------------------------------------------------------------- /vaultclient/auth_aws_ami.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/auth_aws_ami.go -------------------------------------------------------------------------------- /vaultclient/auth_aws_iam.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/auth_aws_iam.go -------------------------------------------------------------------------------- /vaultclient/auth_kubernetes.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/auth_kubernetes.go -------------------------------------------------------------------------------- /vaultclient/creds_aws_sts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/creds_aws_sts.go -------------------------------------------------------------------------------- /vaultclient/creds_sshcert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/creds_sshcert.go -------------------------------------------------------------------------------- /vaultclient/mocks/vaultclient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/mocks/vaultclient.go -------------------------------------------------------------------------------- /vaultclient/vaultclient.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaultclient/vaultclient.go -------------------------------------------------------------------------------- /vaulttoken/vault_token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaulttoken/vault_token.go -------------------------------------------------------------------------------- /vaulttoken/vault_token_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hootsuite/vault-ctrl-tool/HEAD/vaulttoken/vault_token_test.go --------------------------------------------------------------------------------