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

Small app testing ability to use cf token for local development #23

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

jduss4
Copy link
Contributor

@jduss4 jduss4 commented Feb 28, 2024

Changes proposed in this pull request:

This is a proof-of-concept experiment whereby a small application is passed your local CF oauth token and can use it to access a CF API.

Security considerations

  • This application should not be deployed to a cloud environment, nor will it function there.
  • Your local oauth token supplied by the CF CLI is available to you to inspect and decode. Although this is probably not its intended use, I don't perceive any particular security concerns around using it to contact the CF API it was intended for use with.

Copy link
Contributor

@echappen echappen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM—this paints the picture on how to use the CF token once we have it. Depending on how long the token is good for, I could see us using this to get started working with real data in prototypes.

@jduss4 jduss4 merged commit b9fa819 into main Feb 29, 2024
1 check passed
@jduss4 jduss4 deleted the jvd/local-token branch February 29, 2024 19:40
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

Successfully merging this pull request may close these issues.

2 participants