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

Provide user/password to curl when called by clevis #401

Open
sarroutbi opened this issue Jan 31, 2023 · 2 comments · May be fixed by #402
Open

Provide user/password to curl when called by clevis #401

sarroutbi opened this issue Jan 31, 2023 · 2 comments · May be fixed by #402

Comments

@sarroutbi
Copy link
Collaborator

sarroutbi commented Jan 31, 2023

When using tang pin, it would be desirable to have the possibility to provide user and password when calling "curl" from clevis.

IMHO, the recommended way would be to have a "netrc" file that is provided to curl, as if this file does not exist or fail to be read, curl continues execution and will continue as it is working currently

sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
@sarroutbi sarroutbi linked a pull request Jan 31, 2023 that will close this issue
sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
sarroutbi added a commit to sarroutbi/clevis that referenced this issue Jan 31, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
@sergio-correia
Copy link
Collaborator

Please, elaborate more on the use cases for this. How do you intend to use this?

@sarroutbi
Copy link
Collaborator Author

The idea is to have the possibility for Clevis to bind to those systems where there is a previous layer that requires using a user and a password. This is the case in RedHat ConsoleDOT, where you have tang, as a container, but access to this container requires binding to an external Route that requires user and password.

sarroutbi added a commit to sarroutbi/clevis that referenced this issue May 3, 2023
Resolves: latchset#401

Signed-off-by: Sergio Arroutbi <[email protected]>
sarroutbi added a commit to sarroutbi/clevis that referenced this issue May 3, 2023
sarroutbi added a commit to sarroutbi/clevis that referenced this issue May 3, 2023
sarroutbi added a commit to sarroutbi/clevis that referenced this issue May 9, 2023
sarroutbi added a commit to sarroutbi/clevis that referenced this issue May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants