-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass temporary (not persisted) credentials when creating deployment #11
Comments
@machristie I cross checked against the list here and this sounds right: https://github.com/galaxyproject/cloudlaunch/blob/dev/django-cloudlaunch/cloudlaunchserver/settings.py#L45 cl-os-identity-api-version is stored in the model, so I think it should be removed from settings.py |
I was able to create a deployment with credentials passed in the request, but the problem I then run into is that I'm not able, in the UI, to delete that deployment. I think we'll need to add a delete deployment option to the command line. |
@machristie Not sure I follow - shouldn't it appear in the "My Appliances" list as usual and be deletable? |
Ok, I think I see the problem now. No credentials! Right, makes sense. |
I've gone ahead and merged my in-progress work. I've finished creating abstractions for loading AWS, GCE, OpenStack and Azure credentials from the environment variables or a json file, as described in the issue description. Remaining todos are listed above. |
Add the ability to providing credentials when creating a deployment. Currently the cloudlaunch-cli can create a deployment only if the user has default credentials for the given target cloud stored on the CLoudLaunch server. This new capability will support use cases where it is simpler to not have persisted default credentials in CloudLaunch and also to support users who may be reluctant to store their credentials with CloudLaunch.
The credentials can be passed as
AWS_ACCESS_KEY
andAWS_SECRET_KEY
OS_USERNAME
,OS_PASSWORD
,OS_PROJECT_NAME
,OS_PROJECT_DOMAIN_NAME
, andOS_USER_DOMAIN_NAME
AZURE_SUBSCRIPTION_ID
,AZURE_CLIENT_ID
,AZURE_SECRET
,AZURE_TENANT
,AZURE_RESOURCE_GROUP
,AZURE_STORAGE_ACCOUNT
,AZURE_VM_DEFAULT_USERNAME
GCE_CREDENTIALS_JSON
which can either be a file path or the entire JSON as a string--credentials
argumentTODO
cloudlaunch deployments delete
The text was updated successfully, but these errors were encountered: