Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GCP CLI access #17257

Closed
3 tasks
r0mant opened this issue Oct 11, 2022 · 3 comments · Fixed by #19790
Closed
3 tasks

GCP CLI access #17257

r0mant opened this issue Oct 11, 2022 · 3 comments · Fixed by #19790
Assignees
Labels
application-access feature-request Used for new features in Teleport, improvements to current should be #enhancements gcp

Comments

@r0mant
Copy link
Collaborator

r0mant commented Oct 11, 2022

Description

Teleport currently provides a way to log users in AWS console using federation API as well as access to AWS API via tsh aws and tsh proxy aws commands:

https://goteleport.com/docs/application-access/guides/aws-console/

Accessing Azure console/API is currently in progress.

We would like to add support for similar functionality for accessing GCP.

Success criteria

  • Teleport provides tsh gcp command users can use to interact with GCP API.
  • Users can start local GCP proxy with tsh proxy gcp which GCP API clients can use (e.g. terraform).

Next steps

Console access:

  • Users can register a GCP dashboard in app access and connect to it with a selected user/role.
    • We need to investigate if GCP provides similar kind of functionality as AWS federation API that would allow Teleport to generate a sign-in link.
    • As far as we know this isn't possible. We will be able to support this once Teleport as SAML IdP #18043 is delivered.

Useful references

@r0mant r0mant added feature-request Used for new features in Teleport, improvements to current should be #enhancements application-access labels Oct 11, 2022
@zmb3 zmb3 added the gcp label Oct 17, 2022
@r0mant
Copy link
Collaborator Author

r0mant commented Oct 31, 2022

@mdwn As we talked about before, let's start with GCP CLI access so cover only checkboxes 2 and 3 from the description.

Web console access will be covered later when we implement OIDC provider interface in Teleport which should work for both Azure and GCP. @Tener @smallinsky just FYI

@mdwn
Copy link
Contributor

mdwn commented Oct 31, 2022

The draft branch for the RFD covering this can be seen here: https://github.com/gravitational/teleport/blob/mike.wilson/gcp-cli-rfd/rfd/0095-gcp-cli-support.md. This is very much in early stages, but if you're curious about where/what I'm thinking so far, you can see it there.

@Tener
Copy link
Contributor

Tener commented Nov 2, 2022

@mdwn As we talked about before, let's start with GCP CLI access so cover only checkboxes 2 and 3 from the description.

Web console access will be covered later when we implement OIDC provider interface in Teleport which should work for both Azure and GCP. @Tener @smallinsky just FYI

@r0mant I have started the work on Azure CLI access already; there are some Azure peculiarities to work through, but my initial impressions are good. I have az commands working already (in a totally hackish way), including az login which requires special treatment.

Web access will indeed most likely require Teleport to implement an OIDC provider interface (or a SAML IdP?).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
application-access feature-request Used for new features in Teleport, improvements to current should be #enhancements gcp
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants