NCAR / wrfcloud

WRF Cloud Framework
Apache License 2.0
14 stars 6 forks source link

Passed a JWT with to a cluster with a 'cluster' role. #145

Closed hahnd closed 1 year ago

hahnd commented 1 year ago

Added a new API Action to delete a cluster. Cluster uses the JWT to call the API to shutdown when it is finished, rather than trying to delete its own stack.

Expected Differences

Pull Request Testing

Pull Request Checklist

hahnd commented 1 year ago

@georgemccabe - Without the JWT, the API request to delete the cluster will fail. So, unless you go out of your way to create the JWT and make it available on the cluster, the delete request will fail because it does not have the cluster ID and will not pass authentication or authorization.

hahnd commented 1 year ago

closes #125