External storage credentials

How can i delete external storage credentials saved in database that users insert?

And: is it possibile to not save user credentials, but ask it every time a user first access to the external storage?

Thanks in advance