Null check on access & secret key