Issue with sc.credential.create function due to vault_use_ssl field #761
Labels
bug
This is a bug with the pyTenable library
Tenable.sc
Tenable.sc Package
upstream-api
The issue is related to the calling API or API Docs
Description
When attempting to create a cyberark credential, I cannot successfully create it due to the vault_use_ssl field. The field is supposedly optional and defaults to 'True.' However, when I create the credential without passing that specific field, I get an error stating "The vault_use_ssl field is invalid for Credential type 'database'." When I create it by setting the field to True or "True" or "Yes", I get the same error message.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to create the credential with or without the vault_use_ssl field.
Screenshots
Please see case #01783791 in Tenable Community for an attachment with code snippets.
System Information:
Additional context
I can successfully create a database credential with the auth_type of 'password' and I can call other functions such as sc.credentials.detail(id) without any problems.
The text was updated successfully, but these errors were encountered: