caktus / caktus/invoke-kubesae

Use sts_assume_role to get boto creds

Open
#31 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

In #26, we added a script to get AWS creds from an AWS_PROFILE setting for use with ansible roles that still use boto:
https://github.com/caktus/ansible-role-django-k8s/issues/29#issuecomment-665767426

Another, cleaner, approach might be to do that same process as an Ansible task using `sts_assume_role` as [Colin described](https://github.com/caktus/ansible-role-django-k8s/issues/29#issuecomment-665369154)

The task in this issue would be to get that task working in django-k8s and then remove the `get_boto_env` function here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.