I can use Keychain to store credentials in workflows. Like in example this workflow.
Keep your secrets in macOS Keychain