How do i find stack names?

Finding Stack Names,

Several commands say I must use the Stack name e.g.

Use the docker secret command to tell Docker Swarm the secret. The name of the secret must include the stack name. In the following example, the stack name is ‘hub’:

"docker secret create hub_HUB_POSTGRES_USER_PASSWORD_FILE "

Is there a command to see stack name(s) or some other way to find out?