dynamic credentials dir