jfrog / jfrog-client-go

All go clients for JFrog products
Apache License 2.0
255 stars 136 forks source link

Remote repositories - manage passwords #681

Open cyan21 opened 1 year ago

cyan21 commented 1 year ago

Describe the bug

When retrieving th password set in a remote repository via the the jfrog-client-go, it's encrypted. it' s not possible to reuse them. For example, if I want to recreate an existing remote repository from an Artifactory A into an Artifactory B with the same password, it won't work.

Current behavior

The jfrog cli client returns the encrypted value of a password

Reproduction steps

No response

Expected behavior

The jfrog cli client could return the decrypted value of a password

JFrog Client-Go version

v1.21.0

JFrog CLI version (if applicable)

2.27.1

Operating system type and version

mac OS Ventura 13.0.1

JFrog Artifactory version

No response

JFrog Xray version

No response

yannc21 commented 9 months ago

the CLI supports it in the transfer-config-merge command : https://github.com/jfrog/jfrog-cli-core/blob/master/artifactory/commands/transferconfigmerge/transferconfigmerge.go#L354

you can close this bug