Public cloud credentials js validations script