agent: |
hzaGuyOqYecVbBg767T0Add credentials
Add credentials
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
Using this task you can add credentials to the vault
Inputs:
- cred_label : Give a label to the credentials so that you can reference it in your code. No special characters.
- type: specify type of credentials [ssh, winrm, jwt, basicauth]
- username: some username with the credentials
- password: This should be password for ssh, winrm, basicauth or API token for basicauth or jwt
- proxyrole: The proxy role that has access to these credentials
inputs
outputs
cmd = f"dkv credentials add {cred_label} --role {proxyrole} --conn-type {cred_type} --username {username} --password {password}"
op = _exe(None, cmd)
print(op)
copied