-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use credentials file passed through config (#69)
* Use credentials file passed through config Add a new supported key to the config which allows the path to a credentials file to be passed through to the ObjectStore plugin. If that key is set in the config, use that file as the credentials file for the AWS client. This can be tested by adding a new key to the `cloud-credentials` secret and adding the key value pair `credentialsFile=/credentials/<key_name>`. Signed-off-by: Bridget McErlean <bmcerlean@vmware.com> * Add function to create session options We have some repeated logic for creating session option. This introduces a new function to handle the creation of those session options. Signed-off-by: Bridget McErlean <bmcerlean@vmware.com> * Add documentation for per-BSL credentials Signed-off-by: Bridget McErlean <bmcerlean@vmware.com> * Address code review and add changelog Signed-off-by: Bridget McErlean <bmcerlean@vmware.com>
- Loading branch information
Showing
3 changed files
with
93 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add support for the new `credentialsFile` config key which enables per-BSL credentials. If set, the plugin will use this path as the credentials file for authentication rather than the credentials file path in the environment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e6ffa2a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi i try use this feature, but can't install velero 1.6.0 becose latest release 1.5.3:
https://github.com/vmware-tanzu/velero/tags
if i try install plugin velero-plugin-for-aws:v1.2.0
I I get an error:
Failed to pull image "velero/velero-plugin-for-aws:v1.2.0"
the documentation describes a feature that cannot yet be used. Why so?