Skip to content

Supports the openstack key is stored in the file#279

Open
sergiocazzolato wants to merge 3 commits intocanonical:masterfrom
sergiocazzolato:support-key-file-for-openstack
Open

Supports the openstack key is stored in the file#279
sergiocazzolato wants to merge 3 commits intocanonical:masterfrom
sergiocazzolato:support-key-file-for-openstack

Conversation

@sergiocazzolato
Copy link
Contributor

Currently the openstack backend reads the key ans use to as a password to authenticate. This change introduces an alternative to allow add a path into the key which points to a file with the password (as we do in google when we set the GOOGLE_APPLICATION_CREDENTIALS env var).

This is useful in the ci (using selft hosted runners in forked projects when secrets cannot be used to protect env vars), so the file can be protected from the github runner to be read, allowing just the spread binary to access that file (adding security and making sure it is not possible to read the env var).

Currently the openstack backend reads the key ans use to as a password
to authenticate. This change introduces an alternative to allow add a
path into the key which points to a file with the password (as we do in
google when we set the GOOGLE_APPLICATION_CREDENTIALS env var).

This is usefull in the ci (using selft hosted runners in forked projects
when secrets cannot be used to protect env vars), so the file can be
protected from the github runner to be read, allowing just the spread
binary to access that file (adding security and making sure it is not
possible to read the env var).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant