Commit 384f556
authored
Vault:
Vault: ``static-creds`` implementation
This PR add static-creds read path and relevant acceptance/unit tests, api documentation.
static-roles logic was also updated.
Acceptance tests (failing on unrelated info test):
Running acceptance tests...
=== RUN TestPlugin
=== RUN TestPlugin/TestCloudLifecycle
=== RUN TestPlugin/TestCloudLifecycle/WriteCloud
=== RUN TestPlugin/TestCloudLifecycle/ReadCloud
=== RUN TestPlugin/TestCloudLifecycle/ListClouds
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== RUN TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== PAUSE TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-LIST
=== CONT TestPlugin/TestCloudLifecycle/ListClouds/method-GET
=== RUN TestPlugin/TestCloudLifecycle/DeleteCloud
=== RUN TestPlugin/TestCredsLifecycle
=== RUN TestPlugin/TestCredsLifecycle/root_token
=== RUN TestPlugin/TestCredsLifecycle/user_token
=== RUN TestPlugin/TestCredsLifecycle/user_password
=== RUN TestPlugin/TestInfo
info_test.go:42:
Error Trace: info_test.go:42
Error: Should NOT be empty, but was &{ }
Test: TestPlugin/TestInfo
=== RUN TestPlugin/TestRoleLifecycle
roles_test.go:53: Cloud with name sjz3x3v53l was created
=== RUN TestPlugin/TestRoleLifecycle/WriteRole
=== RUN TestPlugin/TestRoleLifecycle/ReadRole
=== RUN TestPlugin/TestRoleLifecycle/ListRoles
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestRoleLifecycle/DeleteRole
=== CONT TestPlugin/TestRoleLifecycle
plugin_test.go:337: Cloud with name sjz3x3v53l has been removed
=== RUN TestPlugin/TestRootRotate
rotate_test.go:65: Cloud with name default1 was created
rotate_test.go:68: Cloud with name 9jy7 was created
plugin_test.go:337: Cloud with name 9jy7 has been removed
plugin_test.go:337: Cloud with name default1 has been removed
=== RUN TestPlugin/TestStaticCredsLifecycle
=== RUN TestPlugin/TestStaticCredsLifecycle/user_password
=== RUN TestPlugin/TestStaticCredsLifecycle/user_token
=== RUN TestPlugin/TestStaticRoleLifecycle
=== RUN TestPlugin/TestStaticRoleLifecycle/WriteRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ReadRole
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== RUN TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== PAUSE TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST
=== CONT TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET
=== RUN TestPlugin/TestStaticRoleLifecycle/DeleteRole
--- FAIL: TestPlugin (21.57s)
--- PASS: TestPlugin/TestCloudLifecycle (0.09s)
--- PASS: TestPlugin/TestCloudLifecycle/WriteCloud (0.08s)
--- PASS: TestPlugin/TestCloudLifecycle/ReadCloud (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-LIST (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/ListClouds/method-GET (0.00s)
--- PASS: TestPlugin/TestCloudLifecycle/DeleteCloud (0.00s)
--- PASS: TestPlugin/TestCredsLifecycle (6.18s)
--- PASS: TestPlugin/TestCredsLifecycle/root_token (1.95s)
--- PASS: TestPlugin/TestCredsLifecycle/user_token (2.19s)
--- PASS: TestPlugin/TestCredsLifecycle/user_password (0.98s)
--- FAIL: TestPlugin/TestInfo (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle (0.01s)
--- PASS: TestPlugin/TestRoleLifecycle/WriteRole (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ReadRole (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestRoleLifecycle/DeleteRole (0.00s)
--- PASS: TestPlugin/TestRootRotate (5.21s)
--- PASS: TestPlugin/TestStaticCredsLifecycle (6.76s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_password (2.87s)
--- PASS: TestPlugin/TestStaticCredsLifecycle/user_token (3.06s)
--- PASS: TestPlugin/TestStaticRoleLifecycle (3.17s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/WriteRole (1.23s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ReadRole (0.01s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-LIST (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/ListRoles/method-GET (0.00s)
--- PASS: TestPlugin/TestStaticRoleLifecycle/DeleteRole (0.00s)
FAIL
FAIL github.com/opentelekomcloud/vault-plugin-secrets-openstack/acceptance 22.159s
FAIL
make: *** [functional] Error 1
Unit tests:
=== RUN TestBackend_sharedCloud
=== RUN TestBackend_sharedCloud/existing
=== RUN TestBackend_sharedCloud/non-existing
--- PASS: TestBackend_sharedCloud (0.00s)
--- PASS: TestBackend_sharedCloud/existing (0.00s)
--- PASS: TestBackend_sharedCloud/non-existing (0.00s)
=== RUN TestSharedCloud_client
=== RUN TestSharedCloud_client/existing-client
=== RUN TestSharedCloud_client/new-client
--- PASS: TestSharedCloud_client (0.00s)
--- PASS: TestSharedCloud_client/existing-client (0.00s)
--- PASS: TestSharedCloud_client/new-client (0.00s)
=== RUN TestCloudCreate
=== RUN TestCloudCreate/EmptyConfig
=== RUN TestCloudCreate/Create
=== RUN TestCloudCreate/Update
=== RUN TestCloudCreate/Read
=== RUN TestCloudCreate/Delete
=== RUN TestCloudCreate/List
--- PASS: TestCloudCreate (0.00s)
--- PASS: TestCloudCreate/EmptyConfig (0.00s)
--- PASS: TestCloudCreate/Create (0.00s)
--- PASS: TestCloudCreate/Update (0.00s)
--- PASS: TestCloudCreate/Read (0.00s)
--- PASS: TestCloudCreate/Delete (0.00s)
--- PASS: TestCloudCreate/List (0.00s)
=== RUN TestCredentialsRead_ok
=== RUN TestCredentialsRead_ok/root_token
=== RUN TestCredentialsRead_ok/user_token
=== RUN TestCredentialsRead_ok/user_password
=== RUN TestCredentialsRead_ok/token_revoke
=== RUN TestCredentialsRead_ok/user_password_revoke
--- PASS: TestCredentialsRead_ok (0.01s)
--- PASS: TestCredentialsRead_ok/root_token (0.00s)
--- PASS: TestCredentialsRead_ok/user_token (0.00s)
--- PASS: TestCredentialsRead_ok/user_password (0.00s)
--- PASS: TestCredentialsRead_ok/token_revoke (0.00s)
--- PASS: TestCredentialsRead_ok/user_password_revoke (0.00s)
=== RUN TestCredentialsRead_error
=== RUN TestCredentialsRead_error/read-fail
=== RUN TestCredentialsRead_error/no-user-post
=== RUN TestCredentialsRead_error/no-users-token-post
--- PASS: TestCredentialsRead_error (0.00s)
--- PASS: TestCredentialsRead_error/read-fail (0.00s)
--- PASS: TestCredentialsRead_error/no-user-post (0.00s)
--- PASS: TestCredentialsRead_error/no-users-token-post (0.00s)
=== RUN TestCredentialsRevoke_error
=== RUN TestCredentialsRevoke_error/no-token-delete
=== RUN TestCredentialsRevoke_error/no-user-delete
--- PASS: TestCredentialsRevoke_error (0.00s)
--- PASS: TestCredentialsRevoke_error/no-token-delete (0.00s)
--- PASS: TestCredentialsRevoke_error/no-user-delete (0.00s)
=== RUN TestInfoRead
=== PAUSE TestInfoRead
=== RUN TestRoleStoragePath
--- PASS: TestRoleStoragePath (0.00s)
=== RUN TestRoleGet
=== PAUSE TestRoleGet
=== RUN TestRoleExistence
=== PAUSE TestRoleExistence
=== RUN TestRoleList
=== PAUSE TestRoleList
=== RUN TestRoleDelete
=== PAUSE TestRoleDelete
=== RUN TestRoleCreate
=== PAUSE TestRoleCreate
=== RUN TestRoleUpdate
=== PAUSE TestRoleUpdate
=== RUN TestRotateRootCredentials_ok
--- PASS: TestRotateRootCredentials_ok (0.00s)
=== RUN TestRotateRootCredentials_error
=== PAUSE TestRotateRootCredentials_error
=== RUN TestStaticCredentialsRead_ok
=== RUN TestStaticCredentialsRead_ok/user_token
=== RUN TestStaticCredentialsRead_ok/user_password
--- PASS: TestStaticCredentialsRead_ok (0.00s)
--- PASS: TestStaticCredentialsRead_ok/user_token (0.00s)
--- PASS: TestStaticCredentialsRead_ok/user_password (0.00s)
=== RUN TestStaticCredentialsRead_error
=== RUN TestStaticCredentialsRead_error/read-fail
=== RUN TestStaticCredentialsRead_error/no-token-post
=== RUN TestStaticCredentialsRead_error/no-token-get
--- PASS: TestStaticCredentialsRead_error (0.00s)
--- PASS: TestStaticCredentialsRead_error/read-fail (0.00s)
--- PASS: TestStaticCredentialsRead_error/no-token-post (0.00s)
--- PASS: TestStaticCredentialsRead_error/no-token-get (0.00s)
=== RUN TestStaticRoleStoragePath
--- PASS: TestStaticRoleStoragePath (0.00s)
=== RUN TestStaticRoleGet
=== PAUSE TestStaticRoleGet
=== RUN TestStaticRoleExistence
=== PAUSE TestStaticRoleExistence
=== RUN TestStaticRoleList
=== PAUSE TestStaticRoleList
=== RUN TestStaticRoleDelete
=== PAUSE TestStaticRoleDelete
=== RUN TestStaticRoleCreate
=== PAUSE TestStaticRoleCreate
=== RUN TestStaticRoleUpdate
=== PAUSE TestStaticRoleUpdate
=== CONT TestInfoRead
=== CONT TestRotateRootCredentials_error
=== RUN TestRotateRootCredentials_error/read-fail
=== CONT TestStaticRoleDelete
=== CONT TestStaticRoleUpdate
=== CONT TestRoleDelete
=== RUN TestRoleDelete/existing
=== CONT TestStaticRoleExistence
=== CONT TestRoleCreate
=== CONT TestStaticRoleGet
=== PAUSE TestRoleDelete/existing
=== RUN TestRoleDelete/not-existing
=== CONT TestStaticRoleCreate
=== RUN TestStaticRoleCreate/ok
=== PAUSE TestRoleDelete/not-existing
=== RUN TestStaticRoleExistence/existing
=== RUN TestStaticRoleCreate/ok/token
=== PAUSE TestStaticRoleCreate/ok/token
=== RUN TestStaticRoleCreate/ok/password
=== PAUSE TestStaticRoleExistence/existing
=== RUN TestStaticRoleExistence/not-existing
=== RUN TestStaticRoleUpdate/ok
=== RUN TestStaticRoleDelete/existing
=== PAUSE TestStaticRoleDelete/existing
=== RUN TestRoleCreate/ok
--- PASS: TestInfoRead (0.00s)
=== CONT TestRoleExistence
=== RUN TestRoleExistence/existing
=== PAUSE TestRoleExistence/existing
=== RUN TestRoleExistence/not-existing
=== PAUSE TestRoleExistence/not-existing
=== RUN TestRoleExistence/get-err
=== PAUSE TestRoleExistence/get-err
=== RUN TestRotateRootCredentials_error/no-change
=== CONT TestRoleList
=== RUN TestRoleList/ok
=== RUN TestStaticRoleGet/existing
=== RUN TestRoleDelete/error
=== RUN TestStaticRoleDelete/not-existing
=== CONT TestRoleUpdate
=== RUN TestRoleCreate/ok/admin
=== PAUSE TestRoleCreate/ok/admin
=== RUN TestRoleCreate/ok/token
=== PAUSE TestRoleCreate/ok/token
=== RUN TestRoleCreate/ok/password
=== PAUSE TestRoleCreate/ok/password
=== PAUSE TestStaticRoleCreate/ok/password
=== RUN TestRoleUpdate/ok
=== RUN TestStaticRoleCreate/ok/rotation_duration
=== PAUSE TestStaticRoleCreate/ok/rotation_duration
=== RUN TestStaticRoleCreate/ok/endpoint-override
=== PAUSE TestStaticRoleCreate/ok/endpoint-override
=== PAUSE TestStaticRoleExistence/not-existing
=== RUN TestStaticRoleExistence/get-err
=== PAUSE TestStaticRoleExistence/get-err
=== CONT TestRoleGet
=== RUN TestRoleGet/existing
=== PAUSE TestRoleGet/existing
=== RUN TestRoleGet/not-existing
=== PAUSE TestRoleGet/not-existing
=== RUN TestRoleGet/get-err
=== PAUSE TestRoleGet/get-err
=== PAUSE TestStaticRoleGet/existing
=== RUN TestStaticRoleGet/not-existing
=== PAUSE TestStaticRoleGet/not-existing
=== RUN TestRoleList/error
=== CONT TestRoleExistence/existing
=== PAUSE TestRoleList/error
=== RUN TestRoleList/filter
=== PAUSE TestRoleList/filter
=== RUN TestRoleList/filter-get-err
=== PAUSE TestRoleList/filter-get-err
=== RUN TestStaticRoleGet/get-err
=== PAUSE TestStaticRoleGet/get-err
=== CONT TestRoleExistence/get-err
=== RUN TestStaticRoleUpdate/not-existing
=== CONT TestStaticRoleCreate/ok/token
=== PAUSE TestStaticRoleDelete/not-existing
=== RUN TestStaticRoleDelete/error
=== PAUSE TestStaticRoleDelete/error
=== RUN TestStaticRoleDelete/error-get
=== RUN TestRoleUpdate/not-existing
=== RUN TestRoleCreate/ok/ttl
=== PAUSE TestRoleCreate/ok/ttl
=== RUN TestRoleCreate/ok/endpoint-override
=== PAUSE TestRoleCreate/ok/endpoint-override
=== CONT TestRoleGet/existing
=== CONT TestRoleExistence/not-existing
=== PAUSE TestRoleDelete/error
=== RUN TestRoleDelete/error-get
=== PAUSE TestRoleDelete/error-get
--- PASS: TestStaticRoleUpdate (0.00s)
--- PASS: TestStaticRoleUpdate/ok (0.00s)
--- PASS: TestStaticRoleUpdate/not-existing (0.00s)
=== CONT TestStaticRoleCreate/ok/rotation_duration
--- PASS: TestRoleUpdate (0.00s)
--- PASS: TestRoleUpdate/ok (0.00s)
--- PASS: TestRoleUpdate/not-existing (0.00s)
=== CONT TestStaticRoleExistence/not-existing
--- PASS: TestRoleExistence (0.00s)
--- PASS: TestRoleExistence/get-err (0.00s)
--- PASS: TestRoleExistence/existing (0.00s)
--- PASS: TestRoleExistence/not-existing (0.00s)
=== CONT TestRoleList/error
=== CONT TestStaticRoleExistence/get-err
=== CONT TestStaticRoleGet/existing
=== CONT TestStaticRoleExistence/existing
=== CONT TestRoleGet/get-err
=== CONT TestStaticRoleList
=== CONT TestStaticRoleCreate/ok/password
=== CONT TestStaticRoleCreate/ok/endpoint-override
=== CONT TestRoleGet/not-existing
=== RUN TestStaticRoleList/ok
=== CONT TestRoleCreate/ok/admin
=== CONT TestRoleList/filter-get-err
=== RUN TestStaticRoleList/error
=== PAUSE TestStaticRoleList/error
=== RUN TestStaticRoleList/filter
=== PAUSE TestStaticRoleList/filter
=== RUN TestStaticRoleList/filter-get-err
=== PAUSE TestStaticRoleList/filter-get-err
=== CONT TestRoleList/filter
--- PASS: TestStaticRoleExistence (0.00s)
--- PASS: TestStaticRoleExistence/not-existing (0.00s)
--- PASS: TestStaticRoleExistence/get-err (0.00s)
--- PASS: TestStaticRoleExistence/existing (0.00s)
=== CONT TestStaticRoleGet/not-existing
=== CONT TestStaticRoleGet/get-err
=== CONT TestRoleCreate/ok/ttl
=== CONT TestRoleCreate/ok/endpoint-override
--- PASS: TestRoleList (0.00s)
--- PASS: TestRoleList/ok (0.00s)
--- PASS: TestRoleList/error (0.00s)
--- PASS: TestRoleList/filter-get-err (0.00s)
--- PASS: TestRoleList/filter (0.00s)
=== CONT TestRoleCreate/ok/password
=== CONT TestRoleCreate/ok/token
=== CONT TestRoleDelete/existing
--- PASS: TestStaticRoleGet (0.00s)
--- PASS: TestStaticRoleGet/existing (0.00s)
--- PASS: TestStaticRoleGet/get-err (0.00s)
--- PASS: TestStaticRoleGet/not-existing (0.00s)
=== CONT TestStaticRoleDelete/existing
=== CONT TestRoleDelete/error
=== CONT TestRoleDelete/not-existing
=== CONT TestStaticRoleDelete/not-existing
=== CONT TestRoleDelete/error-get
=== CONT TestStaticRoleDelete/error
--- PASS: TestRoleGet (0.00s)
--- PASS: TestRoleGet/existing (0.00s)
--- PASS: TestRoleGet/get-err (0.00s)
--- PASS: TestRoleGet/not-existing (0.00s)
=== CONT TestStaticRoleList/error
=== CONT TestStaticRoleList/filter-get-err
=== CONT TestStaticRoleList/filter
=== RUN TestRoleCreate/error
--- PASS: TestRoleDelete (0.00s)
--- PASS: TestRoleDelete/existing (0.00s)
--- PASS: TestRoleDelete/error (0.00s)
--- PASS: TestRoleDelete/error-get (0.00s)
--- PASS: TestRoleDelete/not-existing (0.00s)
=== RUN TestRoleCreate/error/root-ttl
--- PASS: TestStaticRoleDelete (0.00s)
--- PASS: TestStaticRoleDelete/error-get (0.00s)
--- PASS: TestStaticRoleDelete/existing (0.00s)
--- PASS: TestStaticRoleDelete/not-existing (0.00s)
--- PASS: TestStaticRoleDelete/error (0.00s)
=== PAUSE TestRoleCreate/error/root-ttl
=== RUN TestRoleCreate/error/root-password
=== PAUSE TestRoleCreate/error/root-password
=== RUN TestRoleCreate/error/root-user-groups
=== PAUSE TestRoleCreate/error/root-user-groups
=== RUN TestRoleCreate/error/root-user-roles
=== PAUSE TestRoleCreate/error/root-user-roles
=== RUN TestRoleCreate/error/without-cloud
=== PAUSE TestRoleCreate/error/without-cloud
=== CONT TestRoleCreate/error/root-ttl
=== CONT TestRoleCreate/error/without-cloud
--- PASS: TestStaticRoleList (0.00s)
--- PASS: TestStaticRoleList/ok (0.00s)
--- PASS: TestStaticRoleList/error (0.00s)
--- PASS: TestStaticRoleList/filter-get-err (0.00s)
--- PASS: TestStaticRoleList/filter (0.00s)
=== CONT TestRoleCreate/error/root-user-groups
=== CONT TestRoleCreate/error/root-password
=== CONT TestRoleCreate/error/root-user-roles
=== RUN TestRoleCreate/not-existing-cloud
=== PAUSE TestRoleCreate/not-existing-cloud
=== RUN TestRoleCreate/save-store-err
=== PAUSE TestRoleCreate/save-store-err
=== CONT TestRoleCreate/not-existing-cloud
=== CONT TestRoleCreate/save-store-err
--- PASS: TestRoleCreate (0.00s)
--- PASS: TestRoleCreate/ok (0.00s)
--- PASS: TestRoleCreate/ok/admin (0.00s)
--- PASS: TestRoleCreate/ok/ttl (0.00s)
--- PASS: TestRoleCreate/ok/endpoint-override (0.00s)
--- PASS: TestRoleCreate/ok/password (0.00s)
--- PASS: TestRoleCreate/ok/token (0.00s)
--- PASS: TestRoleCreate/error (0.00s)
--- PASS: TestRoleCreate/error/root-ttl (0.00s)
--- PASS: TestRoleCreate/error/without-cloud (0.00s)
--- PASS: TestRoleCreate/error/root-user-groups (0.00s)
--- PASS: TestRoleCreate/error/root-user-roles (0.00s)
--- PASS: TestRoleCreate/error/root-password (0.00s)
--- PASS: TestRoleCreate/save-store-err (0.00s)
--- PASS: TestRoleCreate/not-existing-cloud (0.00s)
=== RUN TestRotateRootCredentials_error/no-post
=== RUN TestRotateRootCredentials_error/no-get
--- PASS: TestRotateRootCredentials_error (0.01s)
--- PASS: TestRotateRootCredentials_error/read-fail (0.00s)
--- PASS: TestRotateRootCredentials_error/no-change (0.00s)
--- PASS: TestRotateRootCredentials_error/no-post (0.00s)
--- PASS: TestRotateRootCredentials_error/no-get (0.00s)
=== RUN TestStaticRoleCreate/error
=== RUN TestStaticRoleCreate/error/username
=== PAUSE TestStaticRoleCreate/error/username
=== RUN TestStaticRoleCreate/error/without-cloud
=== PAUSE TestStaticRoleCreate/error/without-cloud
=== CONT TestStaticRoleCreate/error/username
=== CONT TestStaticRoleCreate/error/without-cloud
=== RUN TestStaticRoleCreate/not-existing-cloud
=== PAUSE TestStaticRoleCreate/not-existing-cloud
=== RUN TestStaticRoleCreate/save-store-err
=== PAUSE TestStaticRoleCreate/save-store-err
=== CONT TestStaticRoleCreate/not-existing-cloud
=== CONT TestStaticRoleCreate/save-store-err
--- PASS: TestStaticRoleCreate (0.01s)
--- PASS: TestStaticRoleCreate/ok (0.00s)
--- PASS: TestStaticRoleCreate/ok/token (0.00s)
--- PASS: TestStaticRoleCreate/ok/rotation_duration (0.00s)
--- PASS: TestStaticRoleCreate/ok/password (0.00s)
--- PASS: TestStaticRoleCreate/ok/endpoint-override (0.00s)
--- PASS: TestStaticRoleCreate/error (0.00s)
--- PASS: TestStaticRoleCreate/error/username (0.00s)
--- PASS: TestStaticRoleCreate/error/without-cloud (0.00s)
--- PASS: TestStaticRoleCreate/save-store-err (0.00s)
--- PASS: TestStaticRoleCreate/not-existing-cloud (0.00s)
PASS
ok github.com/opentelekomcloud/vault-plugin-secrets-openstack/openstack 0.404s
? github.com/opentelekomcloud/vault-plugin-secrets-openstack/openstack/fixtures [no test files]
Process finished with the exit code 0
Reviewed-by: Aloento <None>
Reviewed-by: Anton Kachurin <None>
Reviewed-by: Artem Lifshits <None>static-creds implementation (#99)1 parent 474d01e commit 384f556
File tree
9 files changed
+826
-118
lines changed- acceptance
- doc/source
- openstack
- fixtures
9 files changed
+826
-118
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
52 | 55 | | |
53 | | - | |
54 | 56 | | |
55 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
56 | 79 | | |
57 | 80 | | |
58 | 81 | | |
| |||
74 | 97 | | |
75 | 98 | | |
76 | 99 | | |
77 | | - | |
78 | 100 | | |
79 | 101 | | |
80 | 102 | | |
81 | 103 | | |
82 | | - | |
83 | 104 | | |
84 | 105 | | |
85 | 106 | | |
| |||
112 | 133 | | |
113 | 134 | | |
114 | 135 | | |
115 | | - | |
| 136 | + | |
116 | 137 | | |
117 | 138 | | |
118 | 139 | | |
119 | 140 | | |
120 | | - | |
| 141 | + | |
| 142 | + | |
121 | 143 | | |
122 | 144 | | |
123 | | - | |
124 | 145 | | |
125 | | - | |
| 146 | + | |
126 | 147 | | |
127 | 148 | | |
128 | 149 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | 443 | | |
448 | 444 | | |
449 | 445 | | |
| |||
492 | 488 | | |
493 | 489 | | |
494 | 490 | | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | | - | |
505 | | - | |
506 | 491 | | |
507 | 492 | | |
508 | 493 | | |
| |||
585 | 570 | | |
586 | 571 | | |
587 | 572 | | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
| 643 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
0 commit comments