Rotating DB Credentials Programatically - DBT CLOUD

Hi everyone! My organization is in the planning stages of implementing rotating passwords for service accounts, which our Snowflake DB credentials falls into. Does anyone know if there is a way to programmatically update these credentials in dbt cloud?

I have found this Terraform Registry but the documentation is a little lacking… for instance how do I find the credential id in the dbt cloud gui?