Skip to content
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

New auth service: AWS Instance Identity #15

Open
dpb587 opened this issue Mar 14, 2019 · 0 comments
Open

New auth service: AWS Instance Identity #15

dpb587 opened this issue Mar 14, 2019 · 0 comments

Comments

@dpb587
Copy link
Owner

dpb587 commented Mar 14, 2019

To support ssoca being a CA for VM-specific operations, allow clients to run on VMs and authenticate with their AWS Instance Identity documents and then the server can provide a certificate based on that metadata.

Also support the server being (optionally) configured with AWS credentials for retrieving additional metadata from EC2 about the instance and include it in the token for additional authorization checks. For example, to require specific tags to be present.

Specific use cases:

  • Allowing VMs to SSH to other VMs without any pre-provisioned credentials via SSH CA authentication.
  • Allowing VM-specific OpenVPN connections to a remote server without sharing credentials.
  • VMs presenting their own, VM-signed TLS certificates in a cluster.

Related futures:

  • Google has a similar instance identity verification process for another auth backend if this works out.
  • At some point, might need to consider ssoca supporting multiple auth providers. For the short term, multiple servers could be used (with intermediate CAs to distinguish between certs).
  • If this turns out to be practical, would want to make sure usage of this as a library is trivial.
  • Kind of related to SPIFFE/Spire. They seem specifically focused on SVIDs and application-level precision and it requires a separate server/client infrastructure. Because of that, I think there's still room for this more general auth mode which goes directly from identity documents to a certificate. In theory, I imagine an additional auth service which is based purely on SPIFFE for those more complex environments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant