File tree Expand file tree Collapse file tree 2 files changed +16
-9
lines changed
Expand file tree Collapse file tree 2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -12,14 +12,14 @@ perform invoke Terraform to query image_id for the image by name.
1212
1313 .. code-block :: console
1414
15- wget https://github.com/opentelekomcloud/vault-plugin-secrets-openstack/releases/download/v1.0 .2/vault-plugin-secrets-openstack_1.0 .2_linux_amd64.tar.gz
16- tar xvf vault-plugin-secrets-openstack_1.0.2_linux_arm64 .tar.gz -C /opt/vault/plugins
15+ $ wget https://github.com/opentelekomcloud/vault-plugin-secrets-openstack/releases/download/v1.1 .2/vault-plugin-secrets-openstack_1.1 .2_linux_amd64.tar.gz
16+ $ tar xvf vault-plugin-secrets-openstack_1.1.2_linux_amd64 .tar.gz -C /opt/vault/plugins
1717
1818 - Register the plugin
1919
2020 .. code-block ::
2121
22- vault secrets enable -path="openstack" -plugin-name="vault-plugin-secrets-openstack" plugin
22+ $ vault secrets enable -path="openstack" -plugin-name="vault-plugin-secrets-openstack" plugin
2323
2424 - Register password policy
2525
@@ -46,20 +46,20 @@ perform invoke Terraform to query image_id for the image by name.
4646
4747 .. code-block :: console
4848
49- vault write sys/policies/password/os-policy policy=@os_policy.hcl
49+ $ vault write sys/policies/password/os-policy policy=@os_policy.hcl
5050
5151
5252 - Configure cloud root account
5353
5454 .. code-block ::
5555
56- vault write openstack/cloud/demo auth_url=https://<AUTH_URL> username=<USER> password=<PASSWORD> user_domain_name=<USER_DOMAIN_NAME> password_policy=os-policy
56+ $ vault write openstack/cloud/demo auth_url=https://<AUTH_URL> username=<USER> password=<PASSWORD> user_domain_name=<USER_DOMAIN_NAME> password_policy=os-policy
5757
5858 - Configure root token role
5959
6060 .. code-block :: console
6161
62- vault write /openstack/role/root_token cloud=demo project_name=<PROJECT_NAME> domain_name=<DOMAIN_NAME> root=true
62+ $ vault write /openstack/role/root_token cloud=demo project_name=<PROJECT_NAME> domain_name=<DOMAIN_NAME> root=true
6363
6464 - Prepare Terraform configuration
6565
@@ -79,4 +79,4 @@ perform invoke Terraform to query image_id for the image by name.
7979
8080 .. code-block :: console
8181
82- terraform apply
82+ $ terraform apply
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ the repository or it can be built from sources.
1212
1313.. code-block :: console
1414
15- $ wget https://github.com/opentelekomcloud/vault-plugin-secrets-openstack/releases/download/v1.0.1/vault-plugin-secrets-openstack_1.0.1_linux_arm64 .tar.gz
16- $ tar xvf vault-plugin-secrets-openstack_1.0.1_linux_arm64 .tar.gz -C /etc/vault/plugins
15+ $ wget https://github.com/opentelekomcloud/vault-plugin-secrets-openstack/releases/download/v1.0.1/vault-plugin-secrets-openstack_1.1.2_linux_arm64 .tar.gz
16+ $ tar xvf vault-plugin-secrets-openstack_1.1.2_linux_amd64 .tar.gz -C /etc/vault/plugins
1717
1818 Once the plugin is unpacked into the location expected by Vault the server
1919should be restarted.
@@ -25,6 +25,13 @@ should be restarted.
2525 After that it is possible to register the plugin and proceed with the
2626configuration.
2727
28+ .. code-block :: console
29+
30+ $ export SHA256=$(shasum -a 256 "/etc/vault/plugins/vault-plugin-secrets-openstack" | cut -d' ' -f1)
31+ $ vault plugin register -sha256="${SHA256}" secret vault-plugin-secrets-openstack
32+
33+ Now we need to enable the plugin.
34+
2835.. code-block :: console
2936
3037 $ vault secrets enable \
You can’t perform that action at this time.
0 commit comments