use default credential provider in samples

This commit removes the dependency on the user hard-coding credentials in a local YAML file, instead deferring to the default credential provider.

This is better for security and makes for a cleaner sample, besides.