roles-anywhere-codespaces
By t04glovern
openrolesanywhere
Open-source proof-of-concept client for AWS IAM Roles Anywhere (by aidansteele)
roles-anywhere-codespaces | openrolesanywhere | |
---|---|---|
1 | 1 | |
3 | 68 | |
- | - | |
10.0 | 10.0 | |
almost 2 years ago | over 1 year ago | |
Shell | Go | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
roles-anywhere-codespaces
Posts with mentions or reviews of roles-anywhere-codespaces.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-22.
-
Setup GitHub Codespaces with AWS IAM Roles Anywhere
Start by deploying a KMS key that will be used as the private key for our certificate authority. An example KMS key can be deployed through the kms.yml template by running the following:
openrolesanywhere
Posts with mentions or reviews of openrolesanywhere.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-22.
-
Setup GitHub Codespaces with AWS IAM Roles Anywhere
#!/bin/bash set -x set -e # Install openrolesanywhere client if [ -e /tmp/openrolesanywhere ]; then rm -rf /tmp/openrolesanywhere; fi git clone https://github.com/aidansteele/openrolesanywhere.git /tmp/openrolesanywhere cd /tmp/openrolesanywhere/cmd/openrolesanywhere go install . if ([ -z "${ROLES_ANYWHERE_CERTIFICATE}" ] && [ -z "${ROLES_ANYWHERE_ROLE}" ] && [ -z "${SSH_PRIVATE_SIGNING_KEY}" ]); then echo "ROLES_ANYWHERE_CERTIFICATE, ROLES_ANYWHERE_ROLE or SSH_PRIVATE_SIGNING_KEY are undefined - skipping AWS auth setup within Codespaces" else # Setup SSH Signing key mkdir -p ~/.ssh if [ -e ~/.ssh/id_rsa_codespaces ]; then rm -rf ~/.ssh/id_rsa_codespaces; fi printenv 'SSH_PRIVATE_SIGNING_KEY' > ~/.ssh/id_rsa_codespaces chmod 400 ~/.ssh/id_rsa_codespaces ssh-keygen -y -f ~/.ssh/id_rsa_codespaces > ~/.ssh/id_rsa_codespaces.pub # Setup openrolesanywhere config mkdir -p ~/.config/openrolesanywhere printenv 'ROLES_ANYWHERE_CERTIFICATE' > ~/.config/openrolesanywhere/codespaces.pem # Create credential handler for AWS credential_process sudo tee /opt/roles-anywhere-handler << END #!/bin/bash eval "\$(ssh-agent -s)" > /dev/null ssh-add ~/.ssh/id_rsa_codespaces > /dev/null openrolesanywhere credential-process --name codespaces --role-arn $ROLES_ANYWHERE_ROLE END # Setup AWS config mkdir -p ~/.aws tee ~/.aws/config << END [profile default] credential_process = /opt/roles-anywhere-handler region = us-east-1 END fi
What are some alternatives?
When comparing roles-anywhere-codespaces and openrolesanywhere you can also consider the following projects:
vscode-dev-containers - NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!