awx icon indicating copy to clipboard operation
awx copied to clipboard

Azure Key Vault Private Key Passphrase not recognized

Open GiuffreLab opened this issue 9 months ago • 0 comments

Please confirm the following

  • [X] I agree to follow this project's code of conduct.
  • [X] I have checked the current issues for duplicates.
  • [X] I understand that AWX is open source software provided for free and that I might not receive a timely response.
  • [X] I am NOT reporting a (potential) security vulnerability. (These should be emailed to [email protected] instead.)

Bug Summary

No response

AWX version

24.3.1

Select the relevant components

  • [X] UI
  • [ ] UI (tech preview)
  • [ ] API
  • [ ] Docs
  • [ ] Collection
  • [ ] CLI
  • [ ] Other

Installation method

kubernetes

Modifications

no

Ansible version

No response

Operating system

Ubuntu 20.04

Web browser

Edge

Steps to reproduce

  • Created a Microsoft Azure Key Vault credential
  • Successfully performed vault test of Secret value
  • Successfully used MS-AKV lookup Machine credentials (Password) or Created Credential values in other playbook tasks
  • Create a SSH key (RSA 4096) with passphrase that was copied manually from MS-AKV secrets
  • Create a Machine Credential copying the SSH Private key
  • Use the Private key Passphrase information from the external secret manager (MS-AKV credential/secret)
  • Save new credential

Expected results

Successful creation of the Machine key

Actual results

Error "must be set when SSH key is encrypted" shown below the Private Key Passphrase field and unable to save.

Additional information

This was also seen on AWX version 24.0.0 before upgrading to 24.3.1 on the same environment.

GiuffreLab avatar May 09 '24 18:05 GiuffreLab