Skip to main content
Use nhost.storage.adminSecret to set the admin secret to be used for subsequent storage requests. This is useful if you want to run storage in “admin mode”.
nhost.storage.setAdminSecret('some-admin-secret')

Parameters


adminSecret optional string Hasura admin secret
I