๐น organisation
์ค์น ๋จ๊ณ์ ์ด ํ๋ฌ๊ทธ์ธ์ ๋ํ ์ ์ฒด ๋งํฌ๋ค์ด ๊ฐ์ด๋๋ฅผ ํฌํจํ ์ค์ ์ง์๋ฅผ ๋ณต์ฌํ์ธ์.
์ฌ์ฉ๋์ง ์์: โorganizationโ ๋์ ์ฌ์ฉํ์ธ์. ์ด ๋ช ๋ น์ด๋ ๋ฏธ๋ ๋ฒ์ ์์ ์ ๊ฑฐ๋ ๊ฒ์ ๋๋ค.
๐ ๋ชฉ๋ก
๋ชฉ๋ก ์ ๋ชฉ โ ๐ Listโ๋ณ๋ช
: l
npx @capgo/cli@latest organisation list์ฌ์ฉ๋์ง ์์: โorganization listโ ๋์ ์ฌ์ฉํ์ธ์.
์ต์ :
| Param | Type | ์ค๋ช |
|---|---|---|
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| --supa-host | string | Custom Supabase host URL (for self-hosting or Capgo development) |
| --supa-anon | string | ์์ฒด ํธ์คํ ์ ์ํ ์ปค์คํ Supabase anon ํค |
โ โ ์ถ๊ฐ
โ ์ถ๊ฐ ์น์ ๋ณ์นญ: a
npx @capgo/cli@latest organisation add[deprecated] โorganization addโ๋ฅผ ์ฌ์ฉํ์ธ์.
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -n, | string | ์กฐ์ง ์ด๋ฆ |
| -e, | string | ์กฐ์ง ๊ด๋ฆฌ ์ด๋ฉ์ผ |
| -a, | string | API ํค๋ฅผ ์ฌ์ฉํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐํฉ๋๋ค. |
| โsupa-host | string | ์ฌ์ฉ์ ์ง์ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์ฉ) |
| โsupa-anon | string | ์ฌ์ฉ์ ์ง์ Supabase ์ต๋ช ํค (์์ฒด ํธ์คํ ์ฉ) |
โ๏ธ ์ค์
์ค์ ๋ณ์นญ: s
npx @capgo/cli@latest organisation set[deprecated] 'organization set'์ ์ฌ์ฉํ์ธ์.
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -n, | string | ์กฐ์ง ์ด๋ฆ |
| -e, | string | ์กฐ์ง ๊ด๋ฆฌ ์ด๋ฉ์ผ |
| โenforce-2fa | boolean | ์กฐ์ง ๋ชจ๋ ๋ฉค๋ฒ์ 2FA ๊ฐ์ |
| โno-enforce-2fa | boolean | ์กฐ์ง 2FA ๊ฐ์ ํด์ |
| โ๋น๋ฐ๋ฒํธ ์ ์ฑ | boolean | ์กฐ์ง์์ ๋น๋ฐ๋ฒํธ ์ ์ฑ ๊ฐ์ ํ์ฑํ |
| โ๋น๋ฐ๋ฒํธ ์ ์ฑ ๋นํ์ฑํ | boolean | ์กฐ์ง์์ ๋น๋ฐ๋ฒํธ ์ ์ฑ ๊ฐ์ ๋นํ์ฑํ |
| โ์ต์ ๊ธธ์ด | string | ๋น๋ฐ๋ฒํธ ์ต์ ๊ธธ์ด (6-128, ๊ธฐ๋ณธ๊ฐ: 10) |
| โ๋๋ฌธ์ ์๊ตฌ | boolean | ๋น๋ฐ๋ฒํธ์ ๋๋ฌธ์ ์๊ตฌ |
| โ๋๋ฌธ์ ์๊ตฌ ๋นํ์ฑํ | boolean | ๋น๋ฐ๋ฒํธ์ ๋๋ฌธ์ ์๊ตฌํ์ง ์๊ธฐ |
| โ์ซ์ ์๊ตฌ | boolean | ๋น๋ฐ๋ฒํธ์ ์ซ์ ์๊ตฌ |
| โno-require-number | boolean | ์ซ์ ์๊ตฌํ์ง ์๊ธฐ |
| โrequire-special | boolean | ๋น๋ฐ๋ฒํธ์ ํน์ ๋ฌธ์ ์๊ตฌ |
| โno-require-special | boolean | ๋น๋ฐ๋ฒํธ์ ํน์ ๋ฌธ์ ์๊ตฌํ์ง ์๊ธฐ |
| โrequire-apikey-expiration | boolean | API ํค๊ฐ ์ ํจ ๊ธฐ๊ฐ์ ๊ฐ์ง ๊ฒ์ ์๊ตฌ |
| โno-require-apikey-expiration | boolean | API ํค ์ ํจ ๊ธฐ๊ฐ ์๊ตฌํ์ง ์๊ธฐ |
| โmax-apikey-expiration-days | string | API ํค ์ ํจ ๊ธฐ๊ฐ ์ ํ์ผ (1-365, null์ ์ ํ ์์) |
| โenforce-hashed-api-keys | boolean | ํด์๋ API ํค๋ฅผ ๊ฐ์ ๋ก ์ฌ์ฉํฉ๋๋ค (ํค ๊ฐ์ ํด์๋ก ์ ์ฅ๋๊ณ ํ๋ฒ๋ง ํ์๋ฉ๋๋ค) |
| โno-enforce-hashed-api-keys | boolean | API ํค๋ฅผ ํ๋ฌธ์ผ๋ก ์ฌ์ฉํ๋๋ก ํ์ฉํฉ๋๋ค |
| -a, | string | API ํค๋ฅผ ์ฌ์ฉํ์ฌ ๊ณ์ ์ ์ฐ๊ฒฐํฉ๋๋ค |
| โsupa-host | string | ์ฌ์ฉ์ ์ง์ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ ๊ฐ๋ฐ์์ํ Capgo) |
| โsupa-anon | string | ์ฌ์ฉ์ ์ง์ Supabase anon ํค (์์ฒด ํธ์คํ ์์ํ) |
๐๏ธ ์ญ์
โ์ญ์ โ๋ผ๋ ์ ๋ชฉ์ ๊ฐ์ง ์น์ ๋ณ์นญ: d
npx @capgo/cli@latest organisation delete[deprecated] โorganization deleteโ์ ์ฌ์ฉํ์ธ์.
์ต์ :
| ํ๋ผ๋ฏธํฐ | ํ์ | ์ค๋ช |
|---|---|---|
| -a, | string | API ๊ณ์ ์ ์ฐ๊ฒฐํ๊ธฐ ์ํ ํค |
| --supa-host | string | ์ฌ์ฉ์ ์ง์ Supabase ํธ์คํธ URL (์์ฒด ํธ์คํ ๋๋ Capgo ๊ฐ๋ฐ์์ํ) |
| โsupa-anon | string | Self-hosting์ ์ํ Custom Supabase anon key |
organisation์์ ๊ณ์ ์งํ
organisation์์ ๊ณ์ ์งํ์ด๋ฌํ organisation์ ์ฌ์ฉํ์ฌ ๋์๋ณด๋์ __CAPGO_KEEP_0__ ์ด์์ ๊ณํํ๊ณ ์๋ค๋ฉด, __CAPGO_KEEP_0__ Overview์ ์ฐ๊ฒฐํ์ธ์. __CAPGO_KEEP_0__ Overview API Overview์์ ๊ตฌํ ์ธ๋ถ ์ ๋ณด๋ฅผ ํ์ธํ์ธ์. API Overview for the implementation detail in API Overview, __CAPGO_KEEP_0__ Keys organisation API Keys API ํค ๊ตฌํ ์ธ๋ถ ์ฌํญ์ ๋ํด ์ฅ์น __CAPGO_KEEP_0__ ๊ตฌํ ์ธ๋ถ ์ฌํญ์ ๋ํด ์ฅ์น ๋ฐ __CAPGO_KEEP_0__ ๊ตฌํ ์ธ๋ถ ์ฌํญ์ ๋ํด ๋ฒ๋ค. ํ์ด์ง ํธ์ง