Skip to main content

Query - Google 접속정보로 빌트인 정책키 조회

google drive 접속 정보를 사용하여 인증/인가 서비스에 등록된 빌트인 정책키를 조회한다.

등록된 정보가 없으면 신규 등록한다. (Google drive 매핑 저장소를 등록할때 사용)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
googleGoogleBuiltInInputGoogle 접속정보 등록용 정보 (필수)
nameString저장소 이름 (필수)
descriptionString저장소 설명
commonShareStorageBoolean기본 공유 저장소 여부 (필수)
accessTypeString저장소 접근 방식 (CSSB: 메타정보 기반 연결 / CSSB_DIRECT: 직접 연결)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
String빌트인 정책키

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

query googleBuiltInKey($google: GoogleBuiltInInput!, $name: String, $description: String, $commonShareStorage: Boolean!, $accessType: String, $adminPage: Boolean) {
googleBuiltInKey(google: $google, name: $name, description: $description, commonShareStorage: $commonShareStorage, accessType: $accessType, adminPage: $adminPage)
}

Sample

VARIABLES

{
"google": {
"email": "test@gmail.com"
},
"name": "test",
"description": "test",
"commonShareStorage": false,
"accessType": "CSSB",
"adminPage": true
}

RESPONSE

{
"data": {
"nasBuiltInKey": "M_GOOGLE_79d6018f332811edaee446089e494eaf"
}
}