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

Task IPFS: support JWT from environment #597

Open
cusma opened this issue Dec 17, 2024 · 1 comment
Open

Task IPFS: support JWT from environment #597

cusma opened this issue Dec 17, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cusma
Copy link

cusma commented Dec 17, 2024

Problem

Currently, the algokit task ipfs command requires a Pinata API JWT as keyring input, so the command can not be used programmatically (e.g. with GH secrets).

Solution

Add a --from-env option to the algokit task ipfs login command that grabs the Pinata JWT from a standard environment variable (e.g. ALGOKIT_PINATA_JWT).

Pros and Cons

PROS: enable programmatic use of the algokit task ipfs commands.
CONS: none.

Dependencies

No new dependency must be introduced.

@cusma cusma added the enhancement New feature or request label Dec 17, 2024
@robdmoore
Copy link
Contributor

Nice! good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants