It is a best practice to regularly update your SOAP API credentials. Currently, there is no way to programmatically do this via the Marketo API. The instructions below will show you how to update your SOAP API credentials via the Marketo UI.
1. Go to the Admin section and click on Web Services.
2. Set an Encryption Key that is at least 10 characters, click Save Changes.